summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/charts/dcae-cloudify-manager
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2018-04-27 22:20:33 +0000
committerLusheng Ji <lji@research.att.com>2018-04-30 06:03:29 +0000
commitd801f794ab8089f9eed7309a5bc16282396239f8 (patch)
tree0de83914fe4da8f8a006d3966a33b58f92458ee2 /kubernetes/dcaegen2/charts/dcae-cloudify-manager
parent615f9490a7d99ab1345f72645f1816a70e2753ea (diff)
Add DCAE postgres instance
patchset #3 Add ExternalName service to provide alternate name for consul in the common namespace. Needed for compatibility with CM plugin. patchset #2 Fix Holmes inputs to use correct postgres address. Minor fixes for ves and tca. Change-Id: Iacfef5a34ab5d2f365dcc6fc160816f80dfa7b69 Issue-ID: DCAEGEN2-477 Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'kubernetes/dcaegen2/charts/dcae-cloudify-manager')
-rw-r--r--kubernetes/dcaegen2/charts/dcae-cloudify-manager/templates/service.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2/charts/dcae-cloudify-manager/templates/service.yaml b/kubernetes/dcaegen2/charts/dcae-cloudify-manager/templates/service.yaml
index c6b24ee22f..4b76523c57 100644
--- a/kubernetes/dcaegen2/charts/dcae-cloudify-manager/templates/service.yaml
+++ b/kubernetes/dcaegen2/charts/dcae-cloudify-manager/templates/service.yaml
@@ -63,4 +63,13 @@ spec:
type: ExternalName
externalName: {{ .Values.service.name }}.{{ include "common.namespace" . }}.svc.cluster.local
{{ end }}
-
+# Provide alternate name for consul in common namespace to support CM plugin discovery
+apiVersion: v1
+kind: Service
+metadata:
+ name: consul
+ namespace: {{ include "common.namespace" . }}
+spec:
+ type: ExternalName
+ externalName: {{ .Values.config.address.consul.host }}.{{ include "common.namespace" . }}.svc.cluster.local
+---