Update K8S to include an auto generator of values template
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{- if index .Values.ocAuth.enabled }}
|
||||
{{- if .Values.ocAuth.enabled }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
app: oc-auth
|
||||
name: {{ .Release.Name }}-oc-auth
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: {{ .Values.ocAuth.replicas }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: oc-auth
|
||||
@@ -50,5 +50,11 @@ spec:
|
||||
memory: "{{ .Values.ocAuth.resources.limits.memory }}"
|
||||
requests:
|
||||
cpu: "{{ .Values.ocAuth.resources.requests.cpu }}"
|
||||
memory: "{{ .Values.ocAuth.resources.requests.memory }}"
|
||||
memory: "{{ .Values.ocAuth.resources.requests.memory }}"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /metrics
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user