diff options
Diffstat (limited to 'kubernetes/vid')
-rw-r--r-- | kubernetes/vid/templates/deployment.yaml | 8 | ||||
-rw-r--r-- | kubernetes/vid/templates/job.yaml (renamed from kubernetes/vid/templates/vid-galera-config-job.yaml) | 10 | ||||
-rw-r--r-- | kubernetes/vid/values.yaml | 7 |
3 files changed, 15 insertions, 10 deletions
diff --git a/kubernetes/vid/templates/deployment.yaml b/kubernetes/vid/templates/deployment.yaml index 4c635facd2..a236754c75 100644 --- a/kubernetes/vid/templates/deployment.yaml +++ b/kubernetes/vid/templates/deployment.yaml @@ -35,7 +35,7 @@ spec: - /root/job_complete.py args: - --job-name - - vid-config-galera + - {{ include "common.fullname" . }}-galera-config env: - name: NAMESPACE valueFrom: @@ -87,9 +87,11 @@ spec: - name: MSO_DME2_ENABLED value: {{ .Values.global.debugEnabled | default .Values.debugEnabled | quote }} - name: VID_ECOMP_REDIRECT_URL - value: http://portal-app.{{ include "common.namespace" . }}:{{ .Values.config.onapport }}/ONAPPORTAL/login.htm + value: https://{{ .Values.config.portalhost }}:{{ .Values.config.onapport }}/ONAPPORTAL/login.htm - name: VID_ECOMP_REST_URL - value: http://portal-app.{{ include "common.namespace" . }}:{{ .Values.config.onapport }}/ONAPPORTAL/auxapi + value: https://portal-app.{{ include "common.namespace" . }}:{{ .Values.config.onapportrest }}/ONAPPORTAL/auxapi + - name: VID_ROLE_ACCESS_CENTRALIZED + value: "{{ .Values.config.roleaccesscentralized }}" - name: VID_CONTACT_US_LINK value: "{{ .Values.config.vidcontactuslink }}" - name: VID_UEB_URL_LIST diff --git a/kubernetes/vid/templates/vid-galera-config-job.yaml b/kubernetes/vid/templates/job.yaml index 2bcf64749d..7d17e36f4e 100644 --- a/kubernetes/vid/templates/vid-galera-config-job.yaml +++ b/kubernetes/vid/templates/job.yaml @@ -15,21 +15,21 @@ apiVersion: batch/v1 kind: Job metadata: - name: vid-config-galera + name: {{ include "common.fullname" . }}-galera-config namespace: {{ include "common.namespace" . }} labels: - app: vid-config-galera + app: {{ include "common.name" . }}-job release: {{ .Release.Name }} spec: template: metadata: labels: + app: {{ include "common.name" . }}-job release: {{ .Release.Name }} - name: vid-galera-init spec: initContainers: #This container checks that all galera instances are up before initializing it. - - name: vid-init-galera-readiness + - name: {{ include "common.name" . }}-readiness image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} command: @@ -46,7 +46,7 @@ spec: apiVersion: v1 fieldPath: metadata.namespace containers: - - name: vid-config-galeradb + - name: {{ include "common.name" . }}-job image: {{ .Values.mariadb_image }} imagePullPolicy: "{{ .Values.pullPolicy }}" volumeMounts: diff --git a/kubernetes/vid/values.yaml b/kubernetes/vid/values.yaml index 79e9440a25..c36b873a60 100644 --- a/kubernetes/vid/values.yaml +++ b/kubernetes/vid/values.yaml @@ -27,7 +27,7 @@ subChartsOnly: # application image repository: nexus3.onap.org:10001 -image: onap/vid:3.0-STAGING-latest +image: onap/vid:3.0.0 pullPolicy: Always # mariadb image for initializing @@ -39,7 +39,9 @@ config: asdcclientrestauth: "Basic dmlkOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=" asdcclientrestport: "8080" vidaaiport: "8443" - onapport: "8989" + onapport: "30225" + onapportrest: "8443" + portalhost: "portal.api.simpledemo.onap.org" msoport: "8080" vidmsopass: OBF:1ih71i271vny1yf41ymf1ylz1yf21vn41hzj1icz msodme2serverurl: http://localhost:8081 @@ -51,6 +53,7 @@ config: vidmysqlmaxconnections: "5" logstashServiceName: log-ls logstashPort: 5044 + roleaccesscentralized: remote # subchart configuration vid_mariadb_galera: |