-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add name
labels and modify runtime cfg name
#12291
Conversation
0a82135
to
e005f04
Compare
name
labelsname
labels and modify runtime cfg name
@@ -184,7 +184,7 @@ spec: | |||
{{- include "loki.configVolume" . | nindent 10 }} | |||
- name: runtime-config | |||
configMap: | |||
name: {{ template "loki.fullname" . }}-runtime | |||
name: {{ template "loki.name" . }}-runtime |
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.
The configmap creation isn't updated as far as I can see. So how will this match that?
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.
that's the issue - the configmap name is actually {{ template "loki.name" . }}-runtime
. We'd have to either, modify it to be .fullname
and update the other places to use .fullname
, or just change these few pieces to stay as .name
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 looks like the runtime configmap is created with loki.name already?
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.
Got it, thanks
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.
LGTM
38d8b62
into
ewelch-distributed-helm-chart
This reverts commit 38d8b62.
What this PR does / why we need it:
name
label to all components (ingesters already have this)fullName
(the other components only usename
)Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist
CONTRIBUTING.md
guide (required)CHANGELOG.md
updatedadd-to-release-notes
labeldocs/sources/setup/upgrade/_index.md
production/helm/loki/Chart.yaml
and updateproduction/helm/loki/CHANGELOG.md
andproduction/helm/loki/README.md
. Example PRdeprecated-config.yaml
anddeleted-config.yaml
files respectively in thetools/deprecated-config-checker
directory. Example PR