Skip to content

Fulcio: add app.kubernetes.io labels and additionalLabels support #956

Open
nlamirault wants to merge 3 commits into
sigstore:mainfrom
nlamirault:feat/fulcio-labels
Open

Fulcio: add app.kubernetes.io labels and additionalLabels support #956
nlamirault wants to merge 3 commits into
sigstore:mainfrom
nlamirault:feat/fulcio-labels

Conversation

@nlamirault

@nlamirault nlamirault commented Apr 9, 2025

Copy link
Copy Markdown

Description of the change

Existing or Associated Issue(s)

Additional Information

Checklist

  • Chart version bumped in Chart.yaml according to semver. Where applicable, update and bump the versions in any associated umbrella chart
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
{{- define "fulcio.labels" -}}
helm.sh/chart: {{ include "fulcio.chart" . }}
{{ include "fulcio.selectorLabels" . }}
app.kubernetes.io/component: fulcio

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be

Suggested change
app.kubernetes.io/component: fulcio
app.kubernetes.io/component: {{ .Values.server.name | quote }}

to be consistent with the other charts?

{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: fulcio
{{- if .Values.additionalLabels }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was partly addressed in #1178

Comment thread charts/fulcio/Chart.lock

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want to delete this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants