-
Notifications
You must be signed in to change notification settings - Fork 610
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
fix: add missing labels to resources #2519
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
apiVersion: v1 | ||
apiVersion: v2 | ||
appVersion: v1.29.0 | ||
description: Openstack Cloud Controller Manager Helm Chart | ||
icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png | ||
home: https://github.com/kubernetes/cloud-provider-openstack | ||
name: openstack-cloud-controller-manager | ||
version: 2.29.0 | ||
version: 2.29.1 | ||
maintainers: | ||
- name: eumel8 | ||
cwrau marked this conversation as resolved.
Show resolved
Hide resolved
|
||
email: f.kloeker@telekom.de | ||
url: https://www.telekom.com | ||
dependencies: | ||
- name: common | ||
version: 2.14.1 | ||
repository: https://charts.bitnami.com/bitnami | ||
Comment on lines
+12
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think I'd rather prefer to just copy this single function here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Uff, I'm highly against copying code, that's the whole point of using a central, standard library for this; to remove code duplication. Then you'd have to keep track of the upstream changes and copy them as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, but how "standard" is this standard library? I see it's used extensively in charts around GitHub, but it still seems to be from a third party? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe it's not a "standard" by definition, but as you said it's extremely widely used across helm charts and bitnami, even though they're a third party, has made themselves a recognizable helm chart writer and supporter known for their quality, at least in my knowledge circle. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,8 @@ apiVersion: apps/v1 | |
kind: DaemonSet | ||
metadata: | ||
name: {{ include "occm.name" . }} | ||
labels: {{- include "common.labels.standard" . | nindent 4 }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "occm.labels" . | nindent 4 }} | ||
Comment on lines
-6
to
-7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this give use the same labels here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this will result in the same labels There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm looking at CI results and I only see this label added to the DaemonSet:
See for yourself in the "Describe failed openstack-cloud-controller-manager" step: https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/cloud-provider-openstack/2519/openstack-cloud-controller-manager-e2e-test/1749846521752326144/build-log.txt There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know how CI comes up with that, but I would say it's technically impossible for this label to exist, neither in the old version nor my new one 😅 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, CI gets that from https://github.com/kubernetes/cloud-provider-openstack/blob/f7abe101ed041c8867d5fd1faa8351044f40a9cb/manifests/controller-manager/openstack-cloud-controller-manager-ds.yaml, so I guess we can disregard this. |
||
annotations: | ||
{{- with .Values.commonAnnotations }} | ||
{{- toYaml . | nindent 4 }} | ||
|
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 it's not something we want to 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.
This is needed for dependencies
And, why not? 🤔🤷
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.
ok, I thought it's a dependency upgrade then no need to update the api version ..