Repository navigation
Conversation
…d in the ArgoCD namespace
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues liées
Issues numéro: #1098
Quel est le comportement actuel ?
Les secrets
gitlab,oci-dockerhub-credsetoci-harbor-creds(repo-creds.yml.j2) ne définissent pasmetadata.namespace. Commeinstall-zone-argocd.shapplique le manifeste sans-n, ils sont créés dans le namespace courant du kubeconfig (souventdefault) au lieu dedso-argocd.Quel est le nouveau comportement ?
Ces trois secrets ont maintenant
namespace: {{ .Release.Namespace }}. Le commentaire du script, qui affirmait à tort quehelm template --namespacerenseignemetadata.namespace, est corrigé.Cette PR introduit-elle un breaking change ?
Non. Les secrets créés par erreur dans un autre namespace peuvent être supprimés à la main.
Autres informations
Remettre
-n dso-argocddans le script ne fonctionnerait pas : le manifeste contient aussi des ressources dso-backup dansinfra-velero, etkubectl apply -nrefuse tout objet dont le namespace diffère de celui passé en argument (the namespace from the provided object "infra-velero" does not match the namespace "dso-argocd"). Il faut donc définir le namespace dans chaque template.Il faut regénérer le dépôt GitOps pour que la correction y soit prise en compte.