You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm using Argo cd a pp of apps pattern to deploy Rancher Stable: https://ranchermanager.docs.rancher.com/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster , but encountering an issue where .Release.Namespace is set incorrectly. The main Argo cd Application is in the argocd namespace, while rancher is supposed to deploy into cattle-system. However, Helm variables that rely on .Release.Namespace in the Ranches templates (like CATTLE_NAMESPACE and resources such as ClusterRoleBinding) are incorrectly picking up argocd instead of cattle-system.
I have seen to similar issues like: #10201 but found 0 solutions.
Then check for example the the CksuterRoleBinding namespace and it willl be argocd and not cattle-system
I thought a temporal solution is to edit all that values to someathing like {{ .Values.cattleNamespace | default .Release.Namespace }} instead of the actual .Release.Namespace but for sure this happens in other charts so thats not the way.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I'm using Argo cd a pp of apps pattern to deploy Rancher Stable: https://ranchermanager.docs.rancher.com/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster , but encountering an issue where .Release.Namespace is set incorrectly. The main Argo cd Application is in the argocd namespace, while rancher is supposed to deploy into cattle-system. However, Helm variables that rely on .Release.Namespace in the Ranches templates (like CATTLE_NAMESPACE and resources such as ClusterRoleBinding) are incorrectly picking up argocd instead of cattle-system.
I have seen to similar issues like: #10201 but found 0 solutions.
As an easy reporoduce example of what i have:
I thought a temporal solution is to edit all that values to someathing like {
{ .Values.cattleNamespace | default .Release.Namespace }}
instead of the actual.Release.Namespace
but for sure this happens in other charts so thats not the way.Any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions