-
Notifications
You must be signed in to change notification settings - Fork 291
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
[stable/k8s-event-logger] Added option to change container name #541
[stable/k8s-event-logger] Added option to change container name #541
Conversation
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.
You need read the contribution notes, there is details on what is required in a PR (e.g. regenerate the chart README, bump version etc)
stable/k8s-event-logger/values.yaml
Outdated
image: | ||
containerName: k8s-event-logger |
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.
It's not part of the image so I would not put it under here:
image: | |
containerName: k8s-event-logger | |
containerName: k8s-event-logger | |
image: |
@@ -37,7 +37,7 @@ spec: | |||
{{- end }} | |||
serviceAccountName: {{ include "k8s-event-logger.fullname" . }} | |||
containers: | |||
- name: app | |||
- name: {{ .Values.image.containerName}} |
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: {{ .Values.image.containerName}} | |
- name: {{ .Values.containerName}} |
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.
Thanks @shehbazk 💜
Made changes in deployment.yaml and values.yaml to add an option to change container name. Also set the default to "k8s-event-logger".