diff --git a/README.md b/README.md index 37b0d56a358565f114601adf9d5709cf2827af38..6b683efd384eee51d84ea297d5a8a3b35595a283 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 diff --git a/chart/templates/bigbang/virtualservice.yaml b/chart/templates/bigbang/virtualservice.yaml index 4a4aac62f8e83cd2d13bc6f3646ef08948a16e99..24f1ef563f3d811c01abee0168f71a5b062f308c 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 }}