Commit 5a603fbf authored by Julien Bouquillon's avatar Julien Bouquillon 🐫

ad gitlab-ci

parent e9816bd7
include:
- project: SocialGouv/gitlab-ci-yml
file: /autodevops_simple_app.yml
ref: v8.0.0
variables:
PROJECT: "veille-git"
#RANCHER_PROJECT_ID: "c-gsm8d:p-pwpk6" # "default" project id here
PORT: 3000
VALUES_FILE: ./.k8s/app.values.yml # Your values
image:
repository: registry.gitlab.factory.social.gouv.fr/socialgouv/veille-git
labels:
app.kubernetes.io/part-of: veille-git
owner: veille-git
team: veille-git
deployment:
annotations:
app.gitlab.com/app: ${CI_PROJECT_PATH_SLUG}
app.gitlab.com/env: ${CI_ENVIRONMENT_SLUG}
port: 3000
livenessProbe:
periodSeconds: 20
port: 3000
readinessProbe:
periodSeconds: 20
port: 3000
resources:
limits:
memory: 128Mi
cpu: 300m
requests:
memory: 64Mi
cpu: 100m
env:
- name: NODE_ENV
value: "production"
service:
port: 3000
targetPort: 3000
ingress:
enabled: true
annotations:
appgw.ingress.kubernetes.io/ssl-redirect: "true"
kubernetes.io/ingress.class: "azure/application-gateway"
hosts:
- host: "veille-git.fabrique.social.gouv.fr"
paths:
- path: /
servicePort: 3000
tls:
- hosts:
- "veille-git.fabrique.social.gouv.fr"
secretName: veille-git-crt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment