command:
- /app/ready.py
args:
- - --container-name
+ - --app-name
{{- if .Values.global.sdc_cassandra.localCluster }}
- sdc-cs
{{- else }}
fieldPath: metadata.namespace
resources:
limits:
- cpu: 100m
- memory: 100Mi
+ cpu: "100m"
+ memory: "500Mi"
requests:
- cpu: 3m
- memory: 20Mi
+ cpu: "3m"
+ memory: "20Mi"
containers:
- name: {{ include "common.name" . }}-job
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.cassandraInitImage }}
fieldPath: status.podIP
resources:
limits:
- cpu: 800m
- memory: 1024Mi
+ cpu: "800m"
+ memory: "1Gi"
requests:
- cpu: 200m
- memory: 300Mi
+ cpu: "200m"
+ memory: "300Mi"
{{ include "common.waitForJobContainer" . | indent 6 | trim }}
serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
- name: {{ include "common.fullname" . }}-cqlshrc
configMap:
name: {{ include "common.release" . }}-sdc-cqlshrc
- imagePullSecrets:
- - name: "{{ include "common.namespace" . }}-docker-registry-key"
- restartPolicy: Never
+ {{- include "common.imagePullSecrets" . | nindent 6 }}