aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/components/vfc-vnfres
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/vfc/components/vfc-vnfres')
-rw-r--r--kubernetes/vfc/components/vfc-vnfres/templates/deployment.yaml4
-rw-r--r--kubernetes/vfc/components/vfc-vnfres/values.yaml2
2 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/vfc/components/vfc-vnfres/templates/deployment.yaml b/kubernetes/vfc/components/vfc-vnfres/templates/deployment.yaml
index 7994294cd1..9433e13cfe 100644
--- a/kubernetes/vfc/components/vfc-vnfres/templates/deployment.yaml
+++ b/kubernetes/vfc/components/vfc-vnfres/templates/deployment.yaml
@@ -41,8 +41,8 @@ spec:
- command:
- /app/ready.py
args:
- - --container-name
- - '{{ ternary (index .Values "mariadb-galera" "nameOverride") .Values.global.mariadbGalera.service .Values.global.mariadbGalera.localCluster }}'
+ - --app-name
+ - {{ include "common.mariadbAppName" . }}
env:
- name: NAMESPACE
valueFrom:
diff --git a/kubernetes/vfc/components/vfc-vnfres/values.yaml b/kubernetes/vfc/components/vfc-vnfres/values.yaml
index c2954d5517..4850c96f11 100644
--- a/kubernetes/vfc/components/vfc-vnfres/values.yaml
+++ b/kubernetes/vfc/components/vfc-vnfres/values.yaml
@@ -21,7 +21,7 @@ global:
ssl_enabled: false
mariadbGalera:
localCluster: false
- service: mariadb-galera
+ service: mariadb-galera-primary
internalPort: 3306
nameOverride: mariadb-galera