Skip to content
代码片段 群组 项目
提交 d0e62bf2 编辑于 作者: NICE's avatar NICE :goal:
浏览文件

Update file deployment.yaml

上级 b46f79cd
No related branches found
No related tags found
无相关合并请求
......@@ -19,22 +19,24 @@ spec:
namespace: gitlab
name: gitlab-runner
spec:
hostAliases:
- ip: "192.168.1.200"
hostnames:
- "gitlab.idevops.site"
containers:
- name: gitlab-runner
image: registry.gitlab.com/gitlab-org/gitlab-runner:alpine-v11.6.0
imagePullPolicy: IfNotPresent
# args:
# - /nginx-ingress-controller
# - --election-id=ingress-controller-leader
# - --controller-class=k8s.io/ingress-nginx
# - --ingress-class=nginx
# - --configmap=$(POD_NAMESPACE)/ingress-nginx-controller
# - --validating-webhook=:8443
# - --validating-webhook-certificate=/usr/local/certificates/cert
# - --validating-webhook-key=/usr/local/certificates/key
# - --watch-ingress-without-class=true
# - --publish-status-address=localhost
# - --enable-ssl-passthrough
args:
- register
- --non-interactive
- --executor "shell"
- --url http://gitlab.idevops.site
- --token glrt-ze3S8sEn1hsWvfsejDFt
- --description "devops-runner"
- --tag-list "build,deploy"
- --run-untagged="true"
- --locked="false"
ports:
- containerPort: 80
name: web
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册