add annotation to webui and gnbsim run server
Change-Id: I04941bec282754f077ea6eb726872f0c7caf228c
diff --git a/5g-control-plane/Chart.yaml b/5g-control-plane/Chart.yaml
index d80905a..1757df4 100644
--- a/5g-control-plane/Chart.yaml
+++ b/5g-control-plane/Chart.yaml
@@ -10,7 +10,7 @@
name: 5g-control-plane
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.8.4
+version: 0.8.5
dependencies:
- name: mongodb
diff --git a/5g-control-plane/templates/service-webui.yaml b/5g-control-plane/templates/service-webui.yaml
index f3c3ff5..9ef05af 100644
--- a/5g-control-plane/templates/service-webui.yaml
+++ b/5g-control-plane/templates/service-webui.yaml
@@ -12,6 +12,10 @@
name: webui
labels:
{{ tuple "webui" . | include "5g-control-plane.metadata_labels" | indent 4 }}
+{{- with .Values.config.webui.serviceAnnotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+{{- end }}
spec:
type: {{ .Values.config.webui.serviceType }}
selector:
diff --git a/5g-control-plane/values.yaml b/5g-control-plane/values.yaml
index cfcce4f..c0e482e 100644
--- a/5g-control-plane/values.yaml
+++ b/5g-control-plane/values.yaml
@@ -220,6 +220,8 @@
deploy: true
#podAnnotations:
serviceType: ClusterIP
+ # serviceAnnotations:
+ # external-dns.alpha.kubernetes.io/hostname: "aether-config.tenant-site.company.com"
urlport:
port: 5000
# Provide nodePort when serviceType is NodePort