chore(argocd-applicationset): Don't exclude chart anymore
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
e2cb20df28
commit
669f9354b9
7 changed files with 23 additions and 6 deletions
3
.github/configs/ct-install.yaml
vendored
3
.github/configs/ct-install.yaml
vendored
|
@ -15,5 +15,4 @@ validate-chart-schema: false
|
|||
validate-maintainers: true
|
||||
validate-yaml: true
|
||||
exclude-deprecated: true
|
||||
excluded-charts:
|
||||
- "argocd-applicationset"
|
||||
excluded-charts: []
|
||||
|
|
8
.github/workflows/lint-and-test.yml
vendored
8
.github/workflows/lint-and-test.yml
vendored
|
@ -40,6 +40,14 @@ jobs:
|
|||
uses: helm/kind-action@v1.2.0
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
|
||||
- name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions
|
||||
if: |
|
||||
contains(steps.list-changed.outputs.changed_charts, 'argocd-applicationset') ||
|
||||
contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') ||
|
||||
contains(steps.list-changed.outputs.changed_charts, 'argocd-notifications')
|
||||
run: |
|
||||
kubectl apply -f charts/argo-cd/crds
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config ./.github/configs/ct-install.yaml
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
|
|
|
@ -62,7 +62,7 @@ kubectl apply -k https://github.com/argoproj-labs/applicationset.git/manifests/c
|
|||
| args.dryRun | bool | `false` | Enable dry run mode |
|
||||
| args.enableLeaderElection | bool | `false` | The default leader election setting |
|
||||
| args.metricsAddr | string | `":8080"` | The default metric address |
|
||||
| args.namespace | string | `"argocd"` | The default Argo CD repo namespace |
|
||||
| args.namespace | string | `""` | Namespace where ArgoCD is deployed to (defaults to .Release.Namespace) |
|
||||
| args.policy | string | `"sync"` | How application is synced between the generator and the cluster |
|
||||
| args.probeBindAddr | string | `":8081"` | The default health check port |
|
||||
| extraArgs | list | `[]` | List of extra cli args to add |
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
# Test with default values
|
||||
|
||||
# Disable mounts of ArgoCD related ConfigMaps as ArgoCD isn't installed during chart testing
|
||||
mountSSHKnownHostsVolume: false
|
||||
mountTLSCertsVolume: false
|
||||
mountGPGKeysVolume: false
|
||||
|
|
|
@ -2,3 +2,8 @@ args:
|
|||
enableLeaderElection: true
|
||||
|
||||
replicaCount: 3
|
||||
|
||||
# Disable mounts of ArgoCD related ConfigMaps as ArgoCD isn't installed during chart testing
|
||||
mountSSHKnownHostsVolume: false
|
||||
mountTLSCertsVolume: false
|
||||
mountGPGKeysVolume: false
|
||||
|
|
|
@ -39,7 +39,7 @@ spec:
|
|||
{{- if or (gt ( .Values.replicaCount | int64) 1) .Values.args.enableLeaderElection }}
|
||||
- --enable-leader-election=true
|
||||
{{- end }}
|
||||
- --namespace={{ .Values.args.namespace }}
|
||||
- --namespace={{ .Values.args.namespace | default .Release.Namespace }}
|
||||
- --argocd-repo-server={{ .Values.args.argocdRepoServer }}
|
||||
- --policy={{ .Values.args.policy }}
|
||||
- --debug={{ .Values.args.debug }}
|
||||
|
|
|
@ -20,8 +20,8 @@ args:
|
|||
probeBindAddr: :8081
|
||||
# -- The default leader election setting
|
||||
enableLeaderElection: false
|
||||
# -- The default Argo CD repo namespace
|
||||
namespace: argocd
|
||||
# -- Namespace where ArgoCD is deployed to (defaults to .Release.Namespace)
|
||||
namespace: ""
|
||||
# -- The default Argo CD repo server address
|
||||
argocdRepoServer: argocd-repo-server:8081
|
||||
# -- How application is synced between the generator and the cluster
|
||||
|
|
Loading…
Reference in a new issue