-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(kubernetes-dashboard): move override to separate values.yaml file #179
base: main
Are you sure you want to change the base?
Conversation
- store override in a separate values.yaml file - upgrade to version 7.9.0
ead0a33
to
91dd8f2
Compare
91dd8f2
to
3d88275
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ArgoCD will complain because of having the same name for resources and since apps can be installed in different clusters we will have the same problem
subjects: | ||
- kind: ServiceAccount | ||
name: <CLUSTER_NAME>-kubernetes-dashboard | ||
name: dashboard-user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: dashboard-user | |
name: <CLUSTER_NAME>-dashboard-user |
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: dashboard-user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: dashboard-user | |
name: <CLUSTER_NAME>-dashboard-user |
Hey @CristhianF7 Indeed, ArgoCD raises an error if two Applications are managing the same resource. (i.e the resource has the same name, destination cluster and type ). In this PR though, the service-account and role binding are created in downstream cluster. Even though in multiple installation of the app the resource have the same name they are not the same resource. There is going to be a problem if a user installs two copies of the app in the same downstream cluster. Luckily that is not a feature we support and don't have to worry about, for now. bonus point : Because the resources are name the same across different downstream accounts, if we ever write script/automation or ask user to ran some sort of command (eg. Muse |
Hey @muse-sisay Thanks for clarifying. I just wanted to double check because we faced this error several times |
Description
values.yam
l file7.9.0
Related Issue(s)
components
directory were installed in the local cluster. As a resultingress
resource wasn't available for downstream clusters.How to test
Follow steps in Contributing.md to deploy the app.