diff --git a/charts/penpot/README.md b/charts/penpot/README.md index 8bc0ed6..e6d9def 100644 --- a/charts/penpot/README.md +++ b/charts/penpot/README.md @@ -33,6 +33,7 @@ $ helm install my-release penpot/penpot | backend.image.tag | string | `"2.0.3"` | The image tag to use. | | backend.nodeSelector | object | `{}` | Node labels for Penpot pods assignment. Check [the official doc](https://kubernetes.io/docs/user-guide/node-selection/) | | backend.podAnnotations | object | `{}` | An optional map of annotations to be applied to the controller Pods | +| backend.podLabels | object | `{}` | An optional map of labels to be applied to the controller Pods | | backend.podSecurityContext | object | `{"enabled":true,"fsGroup":1001}` | Configure Pods Security Context. Check [the official doc](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) | | backend.podSecurityContext.enabled | bool | `true` | Enabled Penpot pods' security context | | backend.podSecurityContext.fsGroup | int | `1001` | Set Penpot pod's security context fsGroup | @@ -151,6 +152,7 @@ $ helm install my-release penpot/penpot | exporter.image.tag | string | `"2.0.3"` | The image tag to use. | | exporter.nodeSelector | object | `{}` | Node labels for Penpot pods assignment. Check [the official doc](https://kubernetes.io/docs/user-guide/node-selection/) | | exporter.podAnnotations | object | `{}` | An optional map of annotations to be applied to the controller Pods | +| exporter.podLabels | object | `{}` | An optional map of labels to be applied to the controller Pods | | exporter.podSecurityContext | object | `{"enabled":true,"fsGroup":1001}` | Configure Pods Security Context. Check [the official doc](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) | | exporter.podSecurityContext.enabled | bool | `true` | Enabled Penpot pods' security context | | exporter.podSecurityContext.fsGroup | int | `1001` | Set Penpot pod's security context fsGroup | @@ -173,6 +175,7 @@ $ helm install my-release penpot/penpot | frontend.image.tag | string | `"2.0.3"` | The image tag to use. | | frontend.nodeSelector | object | `{}` | Node labels for Penpot pods assignment. Check [the official doc](https://kubernetes.io/docs/user-guide/node-selection/) | | frontend.podAnnotations | object | `{}` | An optional map of annotations to be applied to the controller Pods | +| frontend.podLabels | object | `{}` | An optional map of labels to be applied to the controller Pods | | frontend.replicaCount | int | `1` | The number of replicas to deploy. | | frontend.resources | object | `{"limits":{},"requests":{}}` | Penpot frontend resource requests and limits. Check [the official doc](https://kubernetes.io/docs/user-guide/compute-resources/) | | frontend.resources.limits | object | `{}` | The resources limits for the Penpot frontend containers | diff --git a/charts/penpot/templates/backend-deployment.yml b/charts/penpot/templates/backend-deployment.yml index 5ac8939..e988001 100644 --- a/charts/penpot/templates/backend-deployment.yml +++ b/charts/penpot/templates/backend-deployment.yml @@ -19,6 +19,9 @@ spec: labels: app: penpot-backend {{- include "penpot.backendSelectorLabels" . | nindent 8 }} + {{- with .Values.backend.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.backend.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} diff --git a/charts/penpot/templates/exporter-deployment.yml b/charts/penpot/templates/exporter-deployment.yml index 3575715..09479f4 100644 --- a/charts/penpot/templates/exporter-deployment.yml +++ b/charts/penpot/templates/exporter-deployment.yml @@ -19,6 +19,9 @@ spec: labels: app: penpot-exporter {{- include "penpot.exporterSelectorLabels" . | nindent 8 }} + {{- with .Values.exporter.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.exporter.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} diff --git a/charts/penpot/templates/frontend-deployment.yml b/charts/penpot/templates/frontend-deployment.yml index e2eb5a7..a42b522 100644 --- a/charts/penpot/templates/frontend-deployment.yml +++ b/charts/penpot/templates/frontend-deployment.yml @@ -19,6 +19,9 @@ spec: labels: app: penpot-frontend {{- include "penpot.frontendSelectorLabels" . | nindent 8 }} + {{- with .Values.frontend.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.frontend.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} diff --git a/charts/penpot/values.yaml b/charts/penpot/values.yaml index 836471f..164d928 100644 --- a/charts/penpot/values.yaml +++ b/charts/penpot/values.yaml @@ -330,6 +330,9 @@ backend: # -- An optional map of annotations to be applied to the controller Deployment # @section -- Backend parameters deploymentAnnotations: {} + # -- An optional map of labels to be applied to the controller Pods + # @section -- Backend parameters + podLabels: {} # -- An optional map of annotations to be applied to the controller Pods # @section -- Backend parameters podAnnotations: {} @@ -408,6 +411,9 @@ frontend: # -- An optional map of annotations to be applied to the controller Deployment # @section -- Frontend parameters deploymentAnnotations: {} + # -- An optional map of labels to be applied to the controller Pods + # @section -- Frontend parameters + podLabels: {} # -- An optional map of annotations to be applied to the controller Pods # @section -- Frontend parameters podAnnotations: {} @@ -454,6 +460,9 @@ exporter: # -- An optional map of annotations to be applied to the controller Deployment # @section -- Exporter parameters deploymentAnnotations: {} + # -- An optional map of labels to be applied to the controller Pods + # @section -- Exporter parameters + podLabels: {} # -- An optional map of annotations to be applied to the controller Pods # @section -- Exporter parameters podAnnotations: {}