Add pobLabels support to csi and oidc (#744)
spiffe-csi-driver and spiffe-oidc-discovery provider are now brought in line with spire-server and spire-agent, which already support podLabels. Changes: * Add podLabels parameter Fixes #719 Signed-off-by: Rowan Ruseler <[email protected]> Co-authored-by: kfox1111 <[email protected]>
This commit is contained in:
co-authored by
kfox1111
parent
6b5d01b74c
commit
141c8865a3
@@ -60,6 +60,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
|
||||
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `5` |
|
||||
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `5` |
|
||||
| `podAnnotations` | Pod annotations for Spire OIDC discovery provider | `{}` |
|
||||
| `podLabels` | Labels to add to pods | `{}` |
|
||||
| `tls.spire.enabled` | Use spire to secure the oidc-discovery-provider | `true` |
|
||||
| `tls.externalSecret.enabled` | Provide your own certificate/key via tls style Kubernetes Secret | `false` |
|
||||
| `tls.externalSecret.secretName` | Specify which Secret to use | `""` |
|
||||
|
||||
@@ -30,6 +30,9 @@ spec:
|
||||
release: {{ .Release.Name }}
|
||||
release-namespace: {{ .Release.Namespace }}
|
||||
component: oidc-discovery-provider
|
||||
{{- with .Values.podLabels }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
|
||||
@@ -125,6 +125,9 @@ livenessProbe:
|
||||
## @param podAnnotations [object] Pod annotations for Spire OIDC discovery provider
|
||||
podAnnotations: {}
|
||||
|
||||
## @param podLabels [object] Labels to add to pods
|
||||
podLabels: {}
|
||||
|
||||
# Select from one of the options below to be the source of certificates for OIDC Discovery Provider.
|
||||
# If none are enabled, connections won't be TLS encrypted.
|
||||
tls:
|
||||
|
||||
Reference in New Issue
Block a user