Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[AUTHENTICATION] Restructured keycloak and Oauth2-proxy"
[oom.git]
/
kubernetes
/
sdc
/
components
/
sdc-onboarding-be
/
templates
/
job.yaml
diff --git
a/kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
b/kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
index
41996ff
..
8ceca38
100644
(file)
--- a/
kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
+++ b/
kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
@@
-46,11
+46,11
@@
spec:
fieldPath: metadata.namespace
resources:
limits:
fieldPath: metadata.namespace
resources:
limits:
- cpu:
100m
- memory:
100Mi
+ cpu:
"100m"
+ memory:
"500Mi"
requests:
requests:
- cpu:
3m
- memory:
20Mi
+ cpu:
"3m"
+ memory:
"20Mi"
containers:
- name: {{ include "common.name" . }}-job
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.onboardingInitImage }}
containers:
- name: {{ include "common.name" . }}-job
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.onboardingInitImage }}
@@
-65,6
+65,8
@@
spec:
volumeMounts:
- name: {{ include "common.fullname" . }}-environments
mountPath: /home/sdc/chef-solo/environments/
volumeMounts:
- name: {{ include "common.fullname" . }}-environments
mountPath: /home/sdc/chef-solo/environments/
+ - name: {{ include "common.fullname" . }}-cqlshrc
+ mountPath: /home/sdc/.cassandra
env:
- name: ENVNAME
value: {{ .Values.env.name }}
env:
- name: ENVNAME
value: {{ .Values.env.name }}
@@
-85,17
+87,19
@@
spec:
value: "{{ .Values.global.sdc_cassandra.serviceName }}"
resources:
limits:
value: "{{ .Values.global.sdc_cassandra.serviceName }}"
resources:
limits:
- cpu:
800m
- memory:
1024Mi
+ cpu:
"800m"
+ memory:
"1Gi"
requests:
requests:
- cpu:
200m
- memory:
200Mi
+ cpu:
"200m"
+ memory:
"200Mi"
{{ include "common.waitForJobContainer" . | indent 6 | trim }}
{{ include "common.waitForJobContainer" . | indent 6 | trim }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: {{ include "common.fullname" . }}-environments
configMap:
name: {{ include "common.release" . }}-sdc-environments-configmap
defaultMode: 0755
volumes:
- name: {{ include "common.fullname" . }}-environments
configMap:
name: {{ include "common.release" . }}-sdc-environments-configmap
defaultMode: 0755
- imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key"
- restartPolicy: Never
+ - name: {{ include "common.fullname" . }}-cqlshrc
+ configMap:
+ name: {{ include "common.release" . }}-sdc-cqlshrc
+ {{- include "common.imagePullSecrets" . | nindent 6 }}