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 "[COMMON] Allow to set default password complexity"
[oom.git]
/
kubernetes
/
sdc
/
charts
/
sdc-dcae-tosca-lab
/
templates
/
deployment.yaml
diff --git
a/kubernetes/sdc/charts/sdc-dcae-tosca-lab/templates/deployment.yaml
b/kubernetes/sdc/charts/sdc-dcae-tosca-lab/templates/deployment.yaml
index
5ae706d
..
0c886a0
100644
(file)
--- a/
kubernetes/sdc/charts/sdc-dcae-tosca-lab/templates/deployment.yaml
+++ b/
kubernetes/sdc/charts/sdc-dcae-tosca-lab/templates/deployment.yaml
@@
-12,7
+12,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion:
extensions/v1beta
1
+apiVersion:
apps/v
1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@
-23,6
+23,9
@@
metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata:
replicas: {{ .Values.replicaCount }}
template:
metadata:
@@
-33,7
+36,7
@@
spec:
initContainers:
- name: {{ include "common.name" . }}-readiness
command:
initContainers:
- name: {{ include "common.name" . }}-readiness
command:
- - /
root
/ready.py
+ - /
app
/ready.py
args:
- --container-name
- "sdc-dcae-be"
args:
- --container-name
- "sdc-dcae-be"
@@
-43,7
+46,7
@@
spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{
.Values.global.readinessRepository
}}/{{ .Values.global.readinessImage }}"
+ image: "{{
include "common.repository" .
}}/{{ .Values.global.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
containers:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
containers: