diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-11-23 11:21:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-23 11:21:23 +0000 |
commit | 37ff8414e2a492addb19a6bdedde4e76c768edd3 (patch) | |
tree | 7718254706a88139a780cdc6a8c6c5aefb616c55 /kubernetes/portal/components/portal-cassandra | |
parent | b6b8feb8263bc859d48640033087b38f295dfeb8 (diff) | |
parent | 585dd9dd7c02c76745cc7f3ec8a78b9fb0fc352b (diff) |
Merge "[PORTAL] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/portal/components/portal-cassandra')
3 files changed, 4 insertions, 2 deletions
diff --git a/kubernetes/portal/components/portal-cassandra/requirements.yaml b/kubernetes/portal/components/portal-cassandra/requirements.yaml index c5d7864b9d..7c92350367 100644 --- a/kubernetes/portal/components/portal-cassandra/requirements.yaml +++ b/kubernetes/portal/components/portal-cassandra/requirements.yaml @@ -16,3 +16,6 @@ dependencies: - name: common version: ~6.x-0 repository: '@local' + - name: repositoryGenerator + version: ~6.x-0 + repository: '@local' diff --git a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml b/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml index c1b49da31a..80197a6094 100644 --- a/kubernetes/portal/components/portal-cassandra/templates/deployment.yaml +++ b/kubernetes/portal/components/portal-cassandra/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/portal/components/portal-cassandra/values.yaml b/kubernetes/portal/components/portal-cassandra/values.yaml index eb6fc12274..a0488e5cc7 100644 --- a/kubernetes/portal/components/portal-cassandra/values.yaml +++ b/kubernetes/portal/components/portal-cassandra/values.yaml @@ -22,7 +22,6 @@ global: # global defaults # application image -repository: nexus3.onap.org:10001 image: onap/music/cassandra_music:3.0.0 pullPolicy: Always |