mirror of
https://github.com/penpot/penpot-helm.git
synced 2024-12-21 21:23:04 -05:00
feat: make pod labels customizable
This commit is contained in:
parent
d4317bdcf1
commit
1e6f3590ea
5 changed files with 21 additions and 0 deletions
|
@ -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 |
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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: {}
|
||||
|
|
Loading…
Reference in a new issue