diff --git a/templates/GitLab-Runner/0/docker-compose.yml b/templates/GitLab-Runner/0/docker-compose.yml index 710afba..2cbec0a 100644 --- a/templates/GitLab-Runner/0/docker-compose.yml +++ b/templates/GitLab-Runner/0/docker-compose.yml @@ -30,7 +30,7 @@ services: {{- end}} {{- if .Values.GITLAB_LINK}} external_links: - - ${GITLAB_LINK}{{- if .Values.GITLAB_LINK_ALIAS}}:${GITLAB_LINK_ALIAS}{{- end}} + - ${GITLAB_LINK}:gitlab {{- end}} labels: io.rancher.container.pull_image: always @@ -48,7 +48,7 @@ services: - run {{- if .Values.GITLAB_LINK}} external_links: - - ${GITLAB_LINK}{{- if .Values.GITLAB_LINK_ALIAS}}:${GITLAB_LINK_ALIAS}{{- end}} + - ${GITLAB_LINK}:gitlab {{- end}} labels: io.rancher.container.pull_image: always diff --git a/templates/GitLab-Runner/0/rancher-compose.yml b/templates/GitLab-Runner/0/rancher-compose.yml index 72f3f4b..b1d6e51 100644 --- a/templates/GitLab-Runner/0/rancher-compose.yml +++ b/templates/GitLab-Runner/0/rancher-compose.yml @@ -58,14 +58,6 @@ catalog: required: false type: service - - variable: "GITLAB_LINK_ALIAS" - label: "GitLab Service Alias" - description: | - (Optional) Create an alias for the service. - default: "gitlab" - required: false - type: string - - variable: "GITLAB_IP" label: "Local GitLab IP" description: |