Skip to content

Commit

Permalink
fix(charts): fix indentation for JAVA_OPTIONS in deployments. (#8416)
Browse files Browse the repository at this point in the history
Fix indentation for JAVA_OPTIONS in deployments.

Signed-off-by: saernz <15317826+saernz@users.noreply.github.com>
Co-authored-by: saernz <15317826+saernz@users.noreply.github.com>
Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
  • Loading branch information
3 people authored May 13, 2024
1 parent eb6adbc commit ae3999f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/janssen/charts/auth-server/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
env:
- name: CN_AUTH_JAVA_OPTIONS
value: {{ include "auth-server.customJavaOptions" . | trim }}
- name: CN_AUTH_JAVA_OPTIONS
value: {{ include "auth-server.customJavaOptions" . | trim }}
{{- include "auth-server.usr-envs" . | indent 12 }}
{{- include "auth-server.usr-secret-envs" . | indent 12 }}
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions charts/janssen/charts/casa/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
env:
- name: CN_CASA_JAVA_OPTIONS
value: {{ include "casa.customJavaOptions" . | trim }}
- name: CN_CASA_JAVA_OPTIONS
value: {{ include "casa.customJavaOptions" . | trim }}
{{- include "casa.usr-envs" . | indent 12 }}
{{- include "casa.usr-secret-envs" . | indent 12 }}
{{- if or (eq .Values.global.storageClass.provisioner "kubernetes.io/aws-ebs") (eq .Values.global.storageClass.provisioner "openebs.io/local") ( .Values.customScripts) }}
Expand Down
4 changes: 2 additions & 2 deletions charts/janssen/charts/config-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ spec:
- name: {{ include "config-api.name" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
env:
- name: CN_CONFIG_API_JAVA_OPTIONS
value: {{ include "config-api.customJavaOptions" . | trim }}
- name: CN_CONFIG_API_JAVA_OPTIONS
value: {{ include "config-api.customJavaOptions" . | trim }}
{{- include "config-api.usr-envs" . | indent 12 }}
{{- include "config-api.usr-secret-envs" . | indent 12 }}
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions charts/janssen/charts/fido2/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ spec:
runAsUser: 1000
runAsNonRoot: true
env:
- name: CN_FIDO2_JAVA_OPTIONS
value: {{ include "fido2.customJavaOptions" . | trim }}
- name: CN_FIDO2_JAVA_OPTIONS
value: {{ include "fido2.customJavaOptions" . | trim }}
{{- include "fido2.usr-envs" . | indent 12 }}
{{- include "fido2.usr-secret-envs" . | indent 12 }}
{{- if or (eq .Values.global.storageClass.provisioner "kubernetes.io/aws-ebs") (eq .Values.global.storageClass.provisioner "openebs.io/local") ( .Values.customScripts) }}
Expand Down
4 changes: 2 additions & 2 deletions charts/janssen/charts/link/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ spec:
- name: {{ include "link.name" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
env:
- name: CN_LINK_JAVA_OPTIONS
value: {{ include "link.customJavaOptions" . | trim }}
- name: CN_LINK_JAVA_OPTIONS
value: {{ include "link.customJavaOptions" . | trim }}
{{- include "link.usr-envs" . | indent 12 }}
{{- include "link.usr-secret-envs" . | indent 12 }}
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions charts/janssen/charts/saml/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
env:
- name: CN_SAML_JAVA_OPTIONS
value: {{ include "saml.customJavaOptions" . | trim }}
- name: CN_SAML_JAVA_OPTIONS
value: {{ include "saml.customJavaOptions" . | trim }}
{{- include "saml.usr-envs" . | indent 12 }}
{{- include "saml.usr-secret-envs" . | indent 12 }}
{{- if or (eq .Values.global.storageClass.provisioner "kubernetes.io/aws-ebs") (eq .Values.global.storageClass.provisioner "openebs.io/local") ( .Values.customScripts) }}
Expand Down
4 changes: 2 additions & 2 deletions charts/janssen/charts/scim/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ spec:
runAsUser: 1000
runAsNonRoot: true
env:
- name: CN_SCIM_JAVA_OPTIONS
value: {{ include "scim.customJavaOptions" . | trim }}
- name: CN_SCIM_JAVA_OPTIONS
value: {{ include "scim.customJavaOptions" . | trim }}
{{- include "scim.usr-envs" . | indent 12 }}
{{- include "scim.usr-secret-envs" . | indent 12 }}
{{- if or (eq .Values.global.storageClass.provisioner "kubernetes.io/aws-ebs") (eq .Values.global.storageClass.provisioner "openebs.io/local") ( .Values.customScripts) }}
Expand Down

0 comments on commit ae3999f

Please sign in to comment.