Last active
June 26, 2024 02:07
-
-
Save billmetangmo/262fb7f2d379a4ea4c7d3bd499aa7c3b to your computer and use it in GitHub Desktop.
sample argo applicationset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: argoproj.io/v1alpha1 | |
kind: ApplicationSet | |
metadata: | |
name: easyappointments-preview | |
namespace: argocd | |
spec: | |
generators: | |
- pullRequest: | |
github: | |
owner: mongulu-cm | |
repo: manzi-mfa | |
requeueAfterSeconds: 60 | |
template: | |
metadata: | |
name: 'easyappointments-preview-{{branch}}-{{number}}' | |
spec: | |
destination: | |
namespace: 'preview-{{branch}}' | |
server: 'https://kubernetes.default.svc' | |
project: default | |
source: | |
path: helm # Le chemin vers votre chart Helm dans le repo | |
repoURL: 'https://github.com/mongulu-cm/manzi-mfa' | |
targetRevision: '{{head_sha}}' | |
syncPolicy: | |
automated: | |
prune: true | |
selfHeal: true | |
syncOptions: | |
- CreateNamespace=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a un pb avec les parameter store uqi existe pas dans les namespaces à la volée masi ceux-ci sont dépendant d'un généric secret accessible que pa rnamespace. Don cil faut quae dans chaque namespace, il existe cettte clé généric qui est par définiion externe donc il s'agit de les copier à la création d'un namesapce ar https://github.com/config-syncer/config-syncer par exemple