Skip to content
Snippets Groups Projects
Verified Commit 5a35bdce authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add deployment config and submodule

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #43760 failed
*~
deploy:
stage: deploy
image: lwolf/helm-kubectl-docker
only:
- master
tags:
- teckids-trusted
environment:
name: production/leopard
before_script:
- cd invidious/kubernetes; helm dep update; cd ../..
script:
- helm upgrade --install $CI_ENVIRONMENT_SLUG ./invidious/kubernetes
--set podAnnotations.'app\.gitlab\.com'/env=$CI_ENVIRONMENT_SLUG
--set podAnnotations.'app\.gitlab\.com'/app=$CI_PROJECT_PATH_SLUG
--set config.db.password=$POSTGRES_PASSWORD
-f values.yaml
only:
- master
[submodule "invidious"]
path = invidious
url = https://github.com/debdolph/invidious
Subproject commit 711a17a936e39fddbb40c99c47f229b4a119394f
name: invidious
replicaCount: 1
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 5
config:
db:
host: db-vip.teckids.org
# password: SET_BY_CI
domain: you.leopard.tube
ingress:
enabled: true
className: nginx
annotations:
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt-prod
host: you.leopard.tube
path: /
tls: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment