From 271b8cfb7590f37ae865f719d47e7796d2f6fdda Mon Sep 17 00:00:00 2001 From: Matteo Ruina Date: Wed, 14 Apr 2021 09:54:25 +0200 Subject: [PATCH] fix(argo-applicationset): Add tests Signed-off-by: Matteo Ruina --- .../ci/default-values.yaml | 78 +++++++++++++++++++ .../ci/leader-election-values.yaml | 11 +++ 2 files changed, 89 insertions(+) create mode 100644 charts/argo-applicationset/ci/default-values.yaml create mode 100644 charts/argo-applicationset/ci/leader-election-values.yaml diff --git a/charts/argo-applicationset/ci/default-values.yaml b/charts/argo-applicationset/ci/default-values.yaml new file mode 100644 index 00000000..9391b4e4 --- /dev/null +++ b/charts/argo-applicationset/ci/default-values.yaml @@ -0,0 +1,78 @@ +# Default values for argo-applicationset. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 1 + +installCRDs: false # this needs to be false with ct + +image: + # The image repository + repository: quay.io/argocdapplicationset/argocd-applicationset + # Image pull policy + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + +args: + metricsAddr: :8080 + probeBindAddr: :8081 + enableLeaderElection: false + namespace: argocd + argocdRepoServer: argocd-repo-server:8081 + policy: sync + debug: false + dryRun: false + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + +podAnnotations: {} + +rbac: + pspEnabled: true + +podSecurityContext: {} + # fsGroup: 2000 + +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +nodeSelector: {} + +tolerations: [] + +affinity: {} + +# An empty argocd installation doesn't have any of those volumes +mountSSHKnownHostsVolume: false +mountTLSCertsVolume: false +mountGPGKeysVolume: false +mountGPGKeyringVolume: true diff --git a/charts/argo-applicationset/ci/leader-election-values.yaml b/charts/argo-applicationset/ci/leader-election-values.yaml new file mode 100644 index 00000000..dd7c93dc --- /dev/null +++ b/charts/argo-applicationset/ci/leader-election-values.yaml @@ -0,0 +1,11 @@ +args: + enableLeaderElection: true + +replicaCount: 3 + +installCRDs: false + +mountSSHKnownHostsVolume: false +mountTLSCertsVolume: false +mountGPGKeysVolume: false +mountGPGKeyringVolume: true