From 97f0225765205ae5062d55f431c4e2b78d5deca9 Mon Sep 17 00:00:00 2001 From: Kevin Wilder Date: Wed, 6 Jan 2021 15:41:34 -0700 Subject: [PATCH 1/2] fix vs name --- chart/templates/bigbang/virtualservice.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/chart/templates/bigbang/virtualservice.yaml b/chart/templates/bigbang/virtualservice.yaml index 4a4aac6..24f1ef5 100644 --- a/chart/templates/bigbang/virtualservice.yaml +++ b/chart/templates/bigbang/virtualservice.yaml @@ -26,4 +26,21 @@ spec: host: {{ .Release.Namespace }}-gitlab-webservice.gitlab.svc.cluster.local port: number: 8080 +--- +apiVersion: networking.istio.io/v1beta1 +kind: VirtualService +metadata: + name: {{ .Release.Name }}-registry + namespace: {{ .Release.Namespace }} +spec: + gateways: + - main.istio-system.svc.cluster.local + hosts: + - "registry.{{ .Values.hostname }}" + http: + - route: + - destination: + host: {{ .Release.Namespace }}-gitlab-registry.svc.cluster.local + port: + number: 5000 {{- end }} -- GitLab From 7eb276fa8d86ec2415cfad6d643d524a20ce538d Mon Sep 17 00:00:00 2001 From: Kevin Wilder Date: Thu, 7 Jan 2021 08:12:37 -0700 Subject: [PATCH 2/2] fix documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37b0d56..6b683ef 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ helm delete gitlab -n gitlab The initial admin login is user ```root```. The password can be obtained with the following command. ``` -kubectl get secret gitlab-gitlab-initial-root-password -n gitlab -ojsonpath='{.data.password}' | base64 --decode ; echo +kubectl get secret gitlab-gitlab-gitlab-initial-root-password -n gitlab -ojsonpath='{.data.password}' | base64 --decode ; echo ``` ## Deployment -- GitLab