Deploy Aeternalis through Argo CD with verified PostgreSQL and SRS TLS
This commit is contained in:
@@ -23,6 +23,12 @@ spec:
|
||||
automountServiceAccountToken: false
|
||||
terminationGracePeriodSeconds: 30
|
||||
imagePullSecrets: {{ $root.Values.imagePullSecrets | toJson }}
|
||||
{{- if $root.Values.databaseCA.configMap }}
|
||||
volumes:
|
||||
- name: postgres-ca
|
||||
configMap:
|
||||
name: {{ $root.Values.databaseCA.configMap | quote }}
|
||||
{{- end }}
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65532
|
||||
@@ -32,6 +38,12 @@ spec:
|
||||
- name: world
|
||||
image: {{ if $root.Values.image.digest }}{{ printf "%s@%s" $root.Values.image.repository $root.Values.image.digest | quote }}{{ else }}{{ printf "%s:%s" $root.Values.image.repository $root.Values.image.tag | quote }}{{ end }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
{{- if $root.Values.databaseCA.configMap }}
|
||||
volumeMounts:
|
||||
- name: postgres-ca
|
||||
mountPath: /etc/postgres-ca
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
ports: [{ name: http, containerPort: 8080 }]
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
@@ -64,6 +76,9 @@ kind: Ingress
|
||||
metadata:
|
||||
name: {{ $root.Release.Name }}-{{ .id }}
|
||||
annotations:
|
||||
{{- if $root.Values.ingress.clusterIssuer }}
|
||||
cert-manager.io/cluster-issuer: {{ $root.Values.ingress.clusterIssuer | quote }}
|
||||
{{- end }}
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "8k"
|
||||
|
||||
Reference in New Issue
Block a user