0
Fork 0
mirror of https://github.com/penpot/penpot-helm.git synced 2024-12-22 05:32:59 -05:00

feat: make pod labels customizable

This commit is contained in:
David Barragán Merino 2024-07-10 15:24:35 +02:00
parent d4317bdcf1
commit 1e6f3590ea
5 changed files with 21 additions and 0 deletions

View file

@ -33,6 +33,7 @@ $ helm install my-release penpot/penpot
| backend.image.tag | string | `"2.0.3"` | The image tag to use. | | 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.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.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 | 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.enabled | bool | `true` | Enabled Penpot pods' security context |
| backend.podSecurityContext.fsGroup | int | `1001` | Set Penpot pod's security context fsGroup | | 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.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.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.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 | 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.enabled | bool | `true` | Enabled Penpot pods' security context |
| exporter.podSecurityContext.fsGroup | int | `1001` | Set Penpot pod's security context fsGroup | | 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.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.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.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.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 | 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 | | frontend.resources.limits | object | `{}` | The resources limits for the Penpot frontend containers |

View file

@ -19,6 +19,9 @@ spec:
labels: labels:
app: penpot-backend app: penpot-backend
{{- include "penpot.backendSelectorLabels" . | nindent 8 }} {{- include "penpot.backendSelectorLabels" . | nindent 8 }}
{{- with .Values.backend.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.podAnnotations }} {{- with .Values.backend.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -19,6 +19,9 @@ spec:
labels: labels:
app: penpot-exporter app: penpot-exporter
{{- include "penpot.exporterSelectorLabels" . | nindent 8 }} {{- include "penpot.exporterSelectorLabels" . | nindent 8 }}
{{- with .Values.exporter.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.exporter.podAnnotations }} {{- with .Values.exporter.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -19,6 +19,9 @@ spec:
labels: labels:
app: penpot-frontend app: penpot-frontend
{{- include "penpot.frontendSelectorLabels" . | nindent 8 }} {{- include "penpot.frontendSelectorLabels" . | nindent 8 }}
{{- with .Values.frontend.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.frontend.podAnnotations }} {{- with .Values.frontend.podAnnotations }}
annotations: annotations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View file

@ -330,6 +330,9 @@ backend:
# -- An optional map of annotations to be applied to the controller Deployment # -- An optional map of annotations to be applied to the controller Deployment
# @section -- Backend parameters # @section -- Backend parameters
deploymentAnnotations: {} 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 # -- An optional map of annotations to be applied to the controller Pods
# @section -- Backend parameters # @section -- Backend parameters
podAnnotations: {} podAnnotations: {}
@ -408,6 +411,9 @@ frontend:
# -- An optional map of annotations to be applied to the controller Deployment # -- An optional map of annotations to be applied to the controller Deployment
# @section -- Frontend parameters # @section -- Frontend parameters
deploymentAnnotations: {} 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 # -- An optional map of annotations to be applied to the controller Pods
# @section -- Frontend parameters # @section -- Frontend parameters
podAnnotations: {} podAnnotations: {}
@ -454,6 +460,9 @@ exporter:
# -- An optional map of annotations to be applied to the controller Deployment # -- An optional map of annotations to be applied to the controller Deployment
# @section -- Exporter parameters # @section -- Exporter parameters
deploymentAnnotations: {} 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 # -- An optional map of annotations to be applied to the controller Pods
# @section -- Exporter parameters # @section -- Exporter parameters
podAnnotations: {} podAnnotations: {}