CI: k8s: use strings for commit ids

main
Igor Scheller 4 years ago
parent 2cab0788e1
commit 9349634802

@ -66,7 +66,7 @@ metadata:
labels:
app: <CI_PROJECT_PATH_SLUG>
environment: <CI_ENVIRONMENT_SLUG>
commit: <CI_COMMIT_SHORT_SHA>
commit: '<CI_COMMIT_SHORT_SHA>'
spec:
type: ClusterIP
ports:
@ -86,7 +86,7 @@ metadata:
labels:
app: <CI_PROJECT_PATH_SLUG>
environment: <CI_ENVIRONMENT_SLUG>
commit: <CI_COMMIT_SHORT_SHA>
commit: '<CI_COMMIT_SHORT_SHA>'
spec:
replicas: <CI_REPLICAS>
selector:
@ -104,11 +104,11 @@ spec:
app: <CI_PROJECT_PATH_SLUG>
environment: <CI_ENVIRONMENT_SLUG>
tier: application
commit: <CI_COMMIT_SHORT_SHA>
commit: '<CI_COMMIT_SHORT_SHA>'
annotations:
app.gitlab.com/app: <CI_PROJECT_PATH_SLUG>
app.gitlab.com/env: <CI_ENVIRONMENT_SLUG>
commit: <CI_COMMIT_SHORT_SHA>
commit: '<CI_COMMIT_SHORT_SHA>'
spec:
initContainers:
- image: <CI_IMAGE>
@ -163,7 +163,7 @@ metadata:
labels:
app: <CI_PROJECT_PATH_SLUG>
environment: <CI_ENVIRONMENT_SLUG>
commit: <CI_COMMIT_SHORT_SHA>
commit: '<CI_COMMIT_SHORT_SHA>'
annotations:
prometheus.io/port: '80'
prometheus.io/scrape: 'true'
@ -190,7 +190,7 @@ metadata:
labels:
app: <CI_PROJECT_PATH_SLUG>
environment: <CI_ENVIRONMENT_SLUG>
commit: <CI_COMMIT_SHORT_SHA>
commit: '<CI_COMMIT_SHORT_SHA>'
spec:
tls:
- hosts:

Loading…
Cancel
Save