-
Notifications
You must be signed in to change notification settings - Fork 326
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
Use component label everywhere #840
Conversation
Also add a test to ensure every file has it.
f25e4a6
to
2e68b75
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.
Thank you for fixing this!
@@ -9,7 +9,7 @@ metadata: | |||
chart: {{ template "consul.chart" . }} | |||
heritage: {{ .Release.Service }} | |||
release: {{ .Release.Name }} | |||
component: controller | |||
component: 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.
great catch!
charts/consul/templates/gossip-encryption-autogenerate-job.yaml
Outdated
Show resolved
Hide resolved
cd `chart_dir` | ||
# Grep for files that don't have 'component: ' in them | ||
local actual=$(grep -L 'component: ' templates/*.yaml | tee /dev/stderr ) | ||
[ "${actual}" = '' ] |
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.
nice! that good ol' grep test 😄
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
Also add a test to ensure every file has it.
Fixes #673
Checklist: