Add Pod label configuration for argocd-applicationset (#906)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
pull/908/head^2 argocd-applicationset-1.4.0
Petr Drastil 2021-08-27 14:33:17 +02:00 committed by GitHub
parent 81ec515e54
commit 91d2a56ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-applicationset
description: A Helm chart for installing ArgoCD ApplicationSet
type: application
version: 1.3.1
version: 1.4.0
appVersion: "v0.2.0"
home: https://github.com/argoproj/argo-helm
icon: https://argocd-applicationset.readthedocs.io/en/stable/assets/logo.png
@ -14,4 +14,4 @@ maintainers:
- name: maruina
annotations:
artifacthub.io/changes: |
- "[Changed]: Update README and convert it to helm-docs"
- "[Added]: Configuration for Pod labels"

View File

@ -79,6 +79,7 @@ kubectl apply -k https://github.com/argoproj-labs/applicationset.git/manifests/c
| nameOverride | string | `""` | Provide a name in place of `argocd-applicationset` |
| nodeSelector | object | `{}` | [Node selector](https://kubernetes.io/docs/user-guide/node-selection/) |
| podAnnotations | object | `{}` | Annotations for the controller pods |
| podLabels | object | `{}` | Labels for the controller pods |
| podSecurityContext | object | `{}` | Pod Security Context |
| priorityClassName | string | `""` | If specified, indicates the pod's priority. If not specified, the pod priority will be default or zero if there is no default. |
| rbac.pspEnabled | bool | `true` | Enable Pod Security Policy |

View File

@ -17,6 +17,9 @@ spec:
{{- end }}
labels:
{{- include "argo-applicationset.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:

View File

@ -50,6 +50,9 @@ serviceAccount:
# -- Annotations for the controller pods
podAnnotations: {}
# -- Labels for the controller pods
podLabels: {}
rbac:
# -- Enable Pod Security Policy
pspEnabled: true