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