-
Notifications
You must be signed in to change notification settings - Fork 324
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
Standardize resource names across the helm chart #993
Conversation
55d9ab1
to
cc59742
Compare
b38f4e0
to
7842c75
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.
enterprise-license-job
name should be-enterprise-licence
@@ -3,7 +3,7 @@ | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
kind: ClusterRole | |||
metadata: | |||
name: {{ template "consul.fullname" . }}-connect-injector-authmethod-role | |||
name: {{ template "consul.fullname" . }}-connect-injector-authmethod |
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.
I think these can all be -connect-injector
@@ -3,7 +3,7 @@ | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
kind: ClusterRoleBinding | |||
metadata: | |||
name: {{ template "consul.fullname" . }}-connect-injector-authmethod-authdelegator-role-binding | |||
name: {{ template "consul.fullname" . }}-connect-injector-authmethod-authdelegator |
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.
this can be -connect-injector-authdelegator
since this is a special clusterrolebinding where we're binding to a preset role vs how we're usually binding to a role we've created. So this can be with the special name and the rest can be just the name of the component, i.e. -connect-injector
namespace: {{ .Release.Namespace }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "consul.fullname" . }}-connect-injector-authmethod-serviceaccount-role-binding | ||
name: {{ template "consul.fullname" . }}-connect-injector-authmethod-serviceaccount |
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.
and then this can just be -connect-injector
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.
I'm also thinking we should list this under breaking changes with a link to the PR and saying something like "if you're not referencing any consul components by names externally this won't be a breaking change"
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.
I'm irrationally stoked about this.
e69ef33
to
c80c9ec
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.
Beautifully done. No notes.
Changes proposed in this PR:
server-acl-init
as the secret name was hard-coded to use the-svc-aaccount
suffix.How I've tested this PR:
How I expect reviewers to test this PR:
Checklist: