Add pod labels to the SPIRE agent (#273)
Follow on from https://github.com/spiffe/helm-charts-hardened/pull/271. This will allow the SPIRE agent to also integrate with Azure Workload Identity. Signed-off-by: Rory Houlihan <[email protected]>
This commit is contained in:
@@ -40,6 +40,7 @@ A Helm chart to install the SPIRE agent.
|
|||||||
| `serviceAccount.name` | The name of the service account to use. | `""` |
|
| `serviceAccount.name` | The name of the service account to use. | `""` |
|
||||||
| `configMap.annotations` | Annotations to add to the SPIRE Agent ConfigMap | `{}` |
|
| `configMap.annotations` | Annotations to add to the SPIRE Agent ConfigMap | `{}` |
|
||||||
| `podAnnotations` | Annotations to add to pods | `{}` |
|
| `podAnnotations` | Annotations to add to pods | `{}` |
|
||||||
|
| `podLabels` | Labels to add to pods | `{}` |
|
||||||
| `podSecurityContext` | Pod security context | `{}` |
|
| `podSecurityContext` | Pod security context | `{}` |
|
||||||
| `securityContext` | Security context | `{}` |
|
| `securityContext` | Security context | `{}` |
|
||||||
| `resources` | Resource requests and limits | `{}` |
|
| `resources` | Resource requests and limits | `{}` |
|
||||||
|
|||||||
@@ -40,6 +40,9 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "spire-agent.selectorLabels" . | nindent 8 }}
|
{{- include "spire-agent.selectorLabels" . | nindent 8 }}
|
||||||
|
{{- with .Values.podLabels }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.imagePullSecrets }}
|
{{- with .Values.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
|||||||
@@ -45,6 +45,9 @@ configMap:
|
|||||||
## @param podAnnotations [object] Annotations to add to pods
|
## @param podAnnotations [object] Annotations to add to pods
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
|
## @param podLabels [object] Labels to add to pods
|
||||||
|
podLabels: {}
|
||||||
|
|
||||||
## @param podSecurityContext [object] Pod security context
|
## @param podSecurityContext [object] Pod security context
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|||||||
Reference in New Issue
Block a user