Refactor
This commit is contained in:
parent
116fde0983
commit
a6d6b9f4f2
|
@ -1,12 +0,0 @@
|
||||||
{{- if .Values.serviceAccount.create -}}
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ServiceAccount
|
|
||||||
metadata:
|
|
||||||
name: {{ include "exam.serviceAccountName" . }}
|
|
||||||
labels:
|
|
||||||
{{- include "exam.labels" . | nindent 4 }}
|
|
||||||
{{- with .Values.serviceAccount.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
|
@ -1,15 +1,7 @@
|
||||||
replicaCount: 1
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
create: false
|
|
||||||
annotations: {}
|
|
||||||
name: ""
|
|
||||||
|
|
||||||
tls:
|
tls:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
ssl: true
|
|
||||||
className: ""
|
className: ""
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
||||||
|
@ -31,15 +23,6 @@ ingress:
|
||||||
hosts:
|
hosts:
|
||||||
- kube-exam.local
|
- kube-exam.local
|
||||||
|
|
||||||
resources: {}
|
|
||||||
|
|
||||||
nodeSelector: {}
|
|
||||||
|
|
||||||
tolerations: []
|
|
||||||
|
|
||||||
affinity: {}
|
|
||||||
|
|
||||||
# TODO: merge with deployments
|
|
||||||
services:
|
services:
|
||||||
- api:
|
- api:
|
||||||
name: "api"
|
name: "api"
|
||||||
|
|
Loading…
Reference in New Issue