Code Review
/
oom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
6adcaae
)
Merge "[SNIRO] Uses new tpls for repos / images"
author
Krzysztof Opasiak
<k.opasiak@samsung.com>
Tue, 24 Nov 2020 16:51:02 +0000
(16:51 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Tue, 24 Nov 2020 16:51:02 +0000
(16:51 +0000)
kubernetes/sniro-emulator/requirements.yaml
patch
|
blob
|
history
kubernetes/sniro-emulator/templates/deployment.yaml
patch
|
blob
|
history
kubernetes/sniro-emulator/values.yaml
patch
|
blob
|
history
diff --git
a/kubernetes/sniro-emulator/requirements.yaml
b/kubernetes/sniro-emulator/requirements.yaml
index
e85005b
..
a72069f
100644
(file)
--- a/
kubernetes/sniro-emulator/requirements.yaml
+++ b/
kubernetes/sniro-emulator/requirements.yaml
@@
-19,3
+19,6
@@
dependencies:
# a part of this chart's package and will not
# be published independently to a repo (at this point)
repository: '@local'
+ - name: repositoryGenerator
+ version: ~6.x-0
+ repository: '@local'
diff --git
a/kubernetes/sniro-emulator/templates/deployment.yaml
b/kubernetes/sniro-emulator/templates/deployment.yaml
index
ed07bb6
..
0dff4eb
100644
(file)
--- a/
kubernetes/sniro-emulator/templates/deployment.yaml
+++ b/
kubernetes/sniro-emulator/templates/deployment.yaml
@@
-38,7
+38,7
@@
spec:
spec:
containers:
- name: {{ include "common.name" . }}
- image:
"{{ include "common.repository" . }}/{{ .Values.image }}"
+ image:
{{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports:
- containerPort: {{ .Values.service.internalPort }}
diff --git
a/kubernetes/sniro-emulator/values.yaml
b/kubernetes/sniro-emulator/values.yaml
index
e81481d
..
81ce818
100644
(file)
--- a/
kubernetes/sniro-emulator/values.yaml
+++ b/
kubernetes/sniro-emulator/values.yaml
@@
-19,7
+19,6
@@
global: # global defaults
nodePortPrefix: 302
# application image
-repository: nexus3.onap.org:10001
image: onap/sniroemulator:1.0.0
pullPolicy: IfNotPresent