Skip to content

Add possibility to specify extra labels#43

Closed
EtienneBarbier wants to merge 1 commit intooauth2-proxy:mainfrom
EtienneBarbier:main
Closed

Add possibility to specify extra labels#43
EtienneBarbier wants to merge 1 commit intooauth2-proxy:mainfrom
EtienneBarbier:main

Conversation

@EtienneBarbier
Copy link

Similar to PR #25

Add the possibility to specify extra labels in value file for all k8s objects.

New default labels are introduced:

  • helm.sh/chart: {{ include "oauth2-proxy.chart" . }}
  • app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
  • app.kubernetes.io/managed-by: {{ .Release.Service }}
  • app.kubernetes.io/name: {{ include "oauth2-proxy.name" . }}
  • app.kubernetes.io/instance: {{ .Release.Name }}

Old labels are always present for backward compatibility:
heritage: {{ .Release.Service }}
chart: {{ template "oauth2-proxy.chart" . }}
app: {{ template "oauth2-proxy.name" . }}
release: {{ .Release.Name }}

matchLabels are done with new labels.

@EtienneBarbier
Copy link
Author

#25 Add everything needed

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.

1 participant