CI: k8s: use strings for commit ids

This commit is contained in:
Igor Scheller 2021-04-11 17:52:53 +02:00
parent 2cab0788e1
commit 9349634802
1 changed files with 6 additions and 6 deletions

View File

@ -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: