mirror of
https://github.com/penpot/penpot-helm.git
synced 2024-12-22 05:32:59 -05:00
feat: delete repl service
This commit is contained in:
parent
5097f3df7f
commit
fc5ee21ebc
5 changed files with 13 additions and 57 deletions
|
@ -40,11 +40,8 @@ $ helm install my-release penpot/penpot
|
||||||
| backend.resources | object | `{"limits":{},"requests":{}}` | Penpot backend resource requests and limits. Check [the official doc](https://kubernetes.io/docs/user-guide/compute-resources/) |
|
| backend.resources | object | `{"limits":{},"requests":{}}` | Penpot backend resource requests and limits. Check [the official doc](https://kubernetes.io/docs/user-guide/compute-resources/) |
|
||||||
| backend.resources.limits | object | `{}` | The resources limits for the Penpot backend containers |
|
| backend.resources.limits | object | `{}` | The resources limits for the Penpot backend containers |
|
||||||
| backend.resources.requests | object | `{}` | The requested resources for the Penpot backend containers |
|
| backend.resources.requests | object | `{}` | The requested resources for the Penpot backend containers |
|
||||||
| backend.service.http.port | int | `6060` | The http service port to use. |
|
| backend.service.port | int | `6060` | The http service port to use. |
|
||||||
| backend.service.http.type | string | `"ClusterIP"` | The http service type to create. |
|
| backend.service.type | string | `"ClusterIP"` | The http service type to create. |
|
||||||
| backend.service.prepl.enabled | bool | `false` | Whether to enable the prepl service in the backend. |
|
|
||||||
| backend.service.prepl.port | int | `6063` | The prepl service port to use. |
|
|
||||||
| backend.service.prepl.type | string | `"ClusterIP"` | The prepl service type to create. |
|
|
||||||
| backend.tolerations | list | `[]` | Tolerations for Penpot pods assignment. Check [the official doc](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) |
|
| backend.tolerations | list | `[]` | Tolerations for Penpot pods assignment. Check [the official doc](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/) |
|
||||||
|
|
||||||
### Configuration parameters
|
### Configuration parameters
|
||||||
|
|
|
@ -65,10 +65,6 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: PENPOT_TELEMETRY_ENABLED
|
- name: PENPOT_TELEMETRY_ENABLED
|
||||||
value: {{ .Values.config.telemetryEnabled | quote }}
|
value: {{ .Values.config.telemetryEnabled | quote }}
|
||||||
{{- if .Values.backend.service.prepl.enabled }}
|
|
||||||
- name: PENPOT_PREPL_HOST
|
|
||||||
value: "0.0.0.0"
|
|
||||||
{{- end }}
|
|
||||||
{{/* PosgreSQL connection settings */}}
|
{{/* PosgreSQL connection settings */}}
|
||||||
- name: PENPOT_DATABASE_URI
|
- name: PENPOT_DATABASE_URI
|
||||||
{{- if .Values.config.postgresql.host }}
|
{{- if .Values.config.postgresql.host }}
|
||||||
|
@ -380,13 +376,8 @@ spec:
|
||||||
readOnly: false
|
readOnly: false
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.backend.service.http.port }}
|
containerPort: {{ .Values.backend.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- if .Values.backend.service.prepl.enabled }}
|
|
||||||
- name: prepl
|
|
||||||
containerPort: {{ .Values.backend.service.prepl.port }}
|
|
||||||
protocol: TCP
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.backend.resources | nindent 12 }}
|
{{- toYaml .Values.backend.resources | nindent 12 }}
|
||||||
{{- with .Values.backend.nodeSelector }}
|
{{- with .Values.backend.nodeSelector }}
|
||||||
|
|
|
@ -8,30 +8,9 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
{{- include "penpot.backendSelectorLabels" . | nindent 4 }}
|
{{- include "penpot.backendSelectorLabels" . | nindent 4 }}
|
||||||
type: {{ .Values.backend.service.http.type }}
|
type: {{ .Values.backend.service.type }}
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.backend.service.http.port }}
|
- port: {{ .Values.backend.service.port }}
|
||||||
targetPort: {{ .Values.backend.service.http.port }}
|
targetPort: {{ .Values.backend.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
{{- if .Values.backend.service.prepl.enabled }}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ include "penpot.fullname" . }}-backend-prepl
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
{{- include "penpot.labels" . | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
{{- include "penpot.backendSelectorLabels" . | nindent 4 }}
|
|
||||||
type: {{ .Values.backend.service.prepl.type }}
|
|
||||||
ports:
|
|
||||||
- port: {{ .Values.backend.service.prepl.port }}
|
|
||||||
targetPort: {{ .Values.backend.service.prepl.port }}
|
|
||||||
protocol: TCP
|
|
||||||
name: prepl
|
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ spec:
|
||||||
- name: PENPOT_FLAGS
|
- name: PENPOT_FLAGS
|
||||||
value: "$PENPOT_FLAGS {{ .Values.config.flags }}"
|
value: "$PENPOT_FLAGS {{ .Values.config.flags }}"
|
||||||
- name: PENPOT_BACKEND_URI
|
- name: PENPOT_BACKEND_URI
|
||||||
value: {{ print "http://" (include "penpot.fullname" .) "-backend:" .Values.backend.service.http.port }}
|
value: {{ print "http://" (include "penpot.fullname" .) "-backend:" .Values.backend.service.port }}
|
||||||
- name: PENPOT_EXPORTER_URI
|
- name: PENPOT_EXPORTER_URI
|
||||||
value: {{ print "http://" (include "penpot.fullname" .) "-exporter:" .Values.exporter.service.port }}
|
value: {{ print "http://" (include "penpot.fullname" .) "-exporter:" .Values.exporter.service.port }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
@ -320,23 +320,12 @@ backend:
|
||||||
# @section -- Backend parameters
|
# @section -- Backend parameters
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
service:
|
service:
|
||||||
http:
|
# -- The http service type to create.
|
||||||
# -- The http service type to create.
|
# @section -- Backend parameters
|
||||||
# @section -- Backend parameters
|
type: ClusterIP
|
||||||
type: ClusterIP
|
# -- The http service port to use.
|
||||||
# -- The http service port to use.
|
# @section -- Backend parameters
|
||||||
# @section -- Backend parameters
|
port: 6060
|
||||||
port: 6060
|
|
||||||
prepl:
|
|
||||||
# -- Whether to enable the prepl service in the backend.
|
|
||||||
# @section -- Backend parameters
|
|
||||||
enabled: false
|
|
||||||
# -- The prepl service type to create.
|
|
||||||
# @section -- Backend parameters
|
|
||||||
type: ClusterIP
|
|
||||||
# -- The prepl service port to use.
|
|
||||||
# @section -- Backend parameters
|
|
||||||
port: 6063
|
|
||||||
# -- 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: {}
|
||||||
|
|
Loading…
Reference in a new issue