From 8d14c3f4f7a9c1e377991f15b29bf50929eb8c38 Mon Sep 17 00:00:00 2001 From: zhangjianweibj Date: Sat, 12 Jan 2019 16:40:02 +0800 Subject: [PATCH] keystone config fixed pod ip ,service can not access when pods rebuild --- monasca/templates/keystone-deployment.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/monasca/templates/keystone-deployment.yaml b/monasca/templates/keystone-deployment.yaml index 37c044b..1e8bb0a 100644 --- a/monasca/templates/keystone-deployment.yaml +++ b/monasca/templates/keystone-deployment.yaml @@ -32,9 +32,7 @@ spec: {{ toYaml .Values.keystone.resources | indent 12 }} env: - name: KEYSTONE_HOST - valueFrom: - fieldRef: - fieldPath: status.podIP + value: {{ .Values.keystone.name | quote }} - name: KEYSTONE_USERNAME value: {{ .Values.keystone.bootstrap.user | quote }} - name: KEYSTONE_PASSWORD