Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Commit 8c1ed2c

Browse files
sagikazarmarkstoader
authored andcommitted
Make autodns optional
1 parent 52b36d4 commit 8c1ed2c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.banzaicloud/pipeline.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ pipeline:
110110
repository: '{{ .CICD_REPO }}'
111111
tag: '{{ trunc 7 .CICD_COMMIT_SHA }}'
112112
pullPolicy: Always
113+
{{{{- if .platform.AutoDNSEnabled }}}}
113114
ingress:
114115
enabled: true
115116
annotations:
@@ -119,5 +120,9 @@ pipeline:
119120
traefik.ingress.kubernetes.io/redirect-permanent: "true"
120121
hosts:
121122
- "{{.CICD_REPO_NAME}}.{{.CLUSTER_NAME}}.{{.ORG_NAME}}.{{.DOMAIN_NAME}}"
123+
{{{{ else }}}}
124+
service:
125+
type: LoadBalancer
126+
{{{{- end }}}}
122127
mysql:
123128
existingSecret: '{{ .CICD_REPO_NAME }}-mysql'

0 commit comments

Comments
 (0)