Skip to content

Commit

Permalink
port to alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
drodriguez-305 committed Jun 24, 2024
1 parent 828ead7 commit caf1b3e
Show file tree
Hide file tree
Showing 12 changed files with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ spec:
{{- .Values.connectors.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "connectors.serviceAccountName" . }}
{{- if .Values.connectors.dnsConfig }}
dnsConfig: {{- toYaml .Values.connectors.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.connectors.dnsPolicy }}
dnsPolicy: {{ .Values.connectors.dnsPolicy | quote }}
{{- end }}
{{- if .Values.connectors.podSecurityContext }}
securityContext: {{- toYaml .Values.connectors.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ spec:
initContainers:
{{- tpl (.Values.console.initContainers | default list | toYaml | nindent 8) $ }}
serviceAccountName: {{ include "console.serviceAccountName" . }}
{{- if .Values.console.dnsConfig }}
dnsConfig: {{- toYaml .Values.console.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.console.dnsPolicy }}
dnsPolicy: {{ .Values.console.dnsPolicy | quote }}
{{- end }}
securityContext:
{{- toYaml .Values.console.podSecurityContext | nindent 8 }}
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@ spec:
{{- .Values.identity.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "identity.serviceAccountName" . }}
{{- if .Values.identity.dnsConfig }}
dnsConfig: {{- toYaml .Values.identity.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.identity.dnsPolicy }}
dnsPolicy: {{ .Values.identity.dnsPolicy | quote }}
{{- end }}
{{- if .Values.identity.podSecurityContext }}
securityContext: {{- toYaml .Values.identity.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ spec:
{{- .Values.operate.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "operate.serviceAccountName" . }}
{{- if .Values.operate.dnsConfig }}
dnsConfig: {{- toYaml .Values.operate.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.operate.dnsPolicy }}
dnsPolicy: {{ .Values.operate.dnsPolicy | quote }}
{{- end }}
{{- if .Values.operate.podSecurityContext }}
securityContext: {{- toYaml .Values.operate.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,12 @@ spec:
{{- .Values.optimize.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "optimize.serviceAccountName" . }}
{{- if .Values.optimize.dnsConfig }}
dnsConfig: {{- toYaml .Values.optimize.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.optimize.dnsPolicy }}
dnsPolicy: {{ .Values.optimize.dnsPolicy | quote }}
{{- end }}
{{- if .Values.optimize.podSecurityContext }}
securityContext: {{- toYaml .Values.optimize.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ spec:
{{- .Values.tasklist.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "tasklist.serviceAccountName" . }}
{{- if .Values.tasklist.dnsConfig }}
dnsConfig: {{- toYaml .Values.tasklist.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.tasklist.dnsPolicy }}
dnsPolicy: {{ .Values.tasklist.dnsPolicy | quote }}
{{- end }}
{{- if .Values.tasklist.podSecurityContext }}
securityContext: {{- toYaml .Values.tasklist.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ spec:
{{- .Values.webModeler.restapi.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "webModeler.serviceAccountName" . }}
{{- if .Values.webModeler.restapi.dnsConfig }}
dnsConfig: {{- toYaml .Values.webModeler.restapi.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.webModeler.restapi.dnsPolicy }}
dnsPolicy: {{ .Values.webModeler.restapi.dnsPolicy | quote }}
{{- end }}
{{- if .Values.webModeler.restapi.podSecurityContext }}
securityContext: {{- toYaml .Values.webModeler.restapi.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ spec:
{{- .Values.webModeler.webapp.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "webModeler.serviceAccountName" . }}
{{- if .Values.webModeler.webapp.dnsConfig }}
dnsConfig: {{- toYaml .Values.webModeler.webapp.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.webModeler.webapp.dnsPolicy }}
dnsPolicy: {{ .Values.webModeler.webapp.dnsPolicy | quote }}
{{- end }}
{{- if .Values.webModeler.webapp.podSecurityContext }}
securityContext: {{- toYaml .Values.webModeler.webapp.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ spec:
{{- .Values.webModeler.websockets.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "webModeler.serviceAccountName" . }}
{{- if .Values.webModeler.websockets.dnsConfig }}
dnsConfig: {{- toYaml .Values.webModeler.websockets.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.webModeler.websockets.dnsPolicy }}
dnsPolicy: {{ .Values.webModeler.websockets.dnsPolicy | quote }}
{{- end }}
{{- if .Values.webModeler.websockets.podSecurityContext }}
securityContext: {{- toYaml .Values.webModeler.websockets.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ spec:
{{- .Values.zeebeGateway.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "zeebe.serviceAccountName.gateway" . }}
{{- if .Values.zeebeGateway.dnsConfig }}
dnsConfig: {{- toYaml .Values.zeebeGateway.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.zeebeGateway.dnsPolicy }}
dnsPolicy: {{ .Values.zeebeGateway.dnsPolicy | quote }}
{{- end }}
{{- if .Values.zeebeGateway.podSecurityContext }}
securityContext: {{- toYaml .Values.zeebeGateway.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ spec:
{{ .Values.zeebe.extraVolumes | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "zeebe.serviceAccountName.broker" . }}
{{- if .Values.zeebe.dnsConfig }}
dnsConfig: {{- toYaml .Values.zeebe.dnsConfig | nindent 8 }}
{{- end }}
{{- if .Values.zeebe.dnsPolicy }}
dnsPolicy: {{ .Values.zeebe.dnsPolicy | quote }}
{{- end }}
{{- if .Values.zeebe.podSecurityContext }}
securityContext: {{- toYaml .Values.zeebe.podSecurityContext | nindent 8 }}
{{- end }}
Expand Down
44 changes: 44 additions & 0 deletions charts/camunda-platform-alpha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,10 @@ console:
tolerations: []
## @param console.affinity can be used to define pod affinity or anti-affinity https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}
## @param console.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param console.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

###################################
#######
Expand Down Expand Up @@ -864,6 +868,10 @@ zeebe:
configuration: ""
## @param zeebe.extraConfiguration if specified, contents will be used for any extra configuration files such as log4j2.xml
extraConfiguration: {}
## @param zeebe.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param zeebe.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

# Zeebe.
#### ## ##### ###### # # ## # #
Expand Down Expand Up @@ -1168,6 +1176,10 @@ zeebeGateway:
configuration: ""
## @param zeebeGateway.extraConfiguration if specified, contents will be used for any extra configuration files such as log4j2.xml
extraConfiguration: {}
## @param zeebeGateway.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param zeebeGateway.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

################################################
#####
Expand Down Expand Up @@ -1409,6 +1421,10 @@ operate:
configuration: ""
## @param operate.extraConfiguration if specified, contents will be used for any extra configuration files such as the log4j2.xml
extraConfiguration: {}
## @param operate.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param operate.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

##################################################
#######
Expand Down Expand Up @@ -1647,6 +1663,10 @@ tasklist:
configuration: ""
## @param tasklist.extraConfiguration if specified, contents will be used for any extra configuration files such as log4j2.xml
extraConfiguration: {}
## @param tasklist.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param tasklist.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

#############################################
#####
Expand Down Expand Up @@ -1894,6 +1914,10 @@ optimize:
configuration: ""
## @param optimize.extraConfiguration if specified, contents will be used for any extra configuration files such as environment-logback.xml
extraConfiguration: {}
## @param optimize.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param optimize.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

############################################
###
Expand Down Expand Up @@ -2168,6 +2192,10 @@ identity:
configuration: ""
## @param identity.extraConfiguration if specified, contents will be used for any extra configuration files such as the log4j2.xml
extraConfiguration: {}
## @param identity.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param identity.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

# Identity.
##### #### #### ##### #### ##### ###### #### #### #
Expand Down Expand Up @@ -2639,6 +2667,10 @@ webModeler:
configuration: ""
## @param webModeler.restapi.extraConfiguration if specified, contents will be used for any extra configuration files such as log4j2.xml
extraConfiguration: {}
## @param webModeler.restapi.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param webModeler.restapi.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: { }

# WebModeler.
# # ###### ##### ## ##### #####
Expand Down Expand Up @@ -2800,6 +2832,10 @@ webModeler:
configuration: ""
## @param webModeler.webapp.extraConfiguration if specified, contents will be used for any extra configuration files such as log4j2.xml
extraConfiguration: {}
## @param webModeler.webapp.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param webModeler.webapp.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

# WebModeler.
# # ###### ##### #### #### #### # # ###### ##### ####
Expand Down Expand Up @@ -2950,6 +2986,10 @@ webModeler:
configuration: ""
## @param webModeler.websockets.extraConfiguration if specified, contents will be used for any extra configuration files such as log4j2.xml
extraConfiguration: {}
## @param webModeler.websockets.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param webModeler.websockets.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

## @extra webModeler.serviceAccount configuration for the service account the WebModeler pods are assigned to
serviceAccount:
Expand Down Expand Up @@ -3323,6 +3363,10 @@ connectors:
configuration: ""
## @param connectors.extraConfiguration if specified, contents will be used for any extra configuration files such as the log4j2.xml
extraConfiguration: {}
## @param connectors.dnsPolicy https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsPolicy: ""
## @param connectors.dnsConfig https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}

#####################################################################################
#######
Expand Down

0 comments on commit caf1b3e

Please sign in to comment.