Skip to content

Commit

Permalink
Fix indentation for JAVA_OPTIONS in deployments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex Finlayson authored and Rex Finlayson committed Apr 30, 2024
1 parent d3df15e commit 2cdf428
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 2cdf428

Please sign in to comment.