Allow for ConfigMaps to be annotated (#272)
Without an annotation, spinnaker will rename the configmap. --------- Signed-off-by: Faisal Memon <[email protected]> Co-authored-by: kfox1111 <[email protected]>
This commit is contained in:
@@ -29,6 +29,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
|
||||
| config.domains[0] | string | `"localhost"` | |
|
||||
| config.domains[1] | string | `"oidc-discovery.example.org"` | |
|
||||
| config.logLevel | string | `"info"` | |
|
||||
| configMap.annotations | object | `{}` | Annotations to add to the SPIFFE OIDC Discovery Provider ConfigMap |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.registry | string | `"ghcr.io"` | |
|
||||
|
||||
@@ -38,6 +38,10 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
|
||||
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
|
||||
{{- with .Values.configMap.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
oidc-discovery-provider.conf: |
|
||||
{{- include "spiffe-oidc-discovery-provider.yaml-config" (dict "oidcSocket" $oidcSocket "root" .) | fromYaml | toPrettyJson | nindent 4 }}
|
||||
|
||||
@@ -34,6 +34,10 @@ service:
|
||||
annotations: {}
|
||||
# external-dns.alpha.kubernetes.io/hostname: oidc-discovery.example.org
|
||||
|
||||
configMap:
|
||||
# -- Annotations to add to the SPIFFE OIDC Discovery Provider ConfigMap
|
||||
annotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user