Add CI/CD setup
Some checks failed
moritz/project-x/pipeline/head There was a failure building this commit
Some checks failed
moritz/project-x/pipeline/head There was a failure building this commit
This commit is contained in:
56
helmfile.yaml
Normal file
56
helmfile.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
repositories:
|
||||
- name: gabibbo97
|
||||
url: https://gabibbo97.github.io/charts/
|
||||
- name: bjw-s
|
||||
url: https://bjw-s.github.io/helm-charts
|
||||
|
||||
releases:
|
||||
- name: project-x
|
||||
namespace: project-x
|
||||
chart: bjw-s
|
||||
values:
|
||||
- controllers:
|
||||
main:
|
||||
imagePullSecrets:
|
||||
- registry-credentials
|
||||
strategy: Recreate
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: core.harbor.koebele-online.de/library/project-x
|
||||
tag: {{ requiredEnv "BUILD_NUMBER"}}
|
||||
pullPolicy: IfNotPresent
|
||||
- service:
|
||||
main:
|
||||
ports:
|
||||
http:
|
||||
port: 80
|
||||
- ingress:
|
||||
main:
|
||||
enabled: true
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
hosts:
|
||||
- host: project-x.moritz.koebele-online.de
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
service:
|
||||
name: main
|
||||
port: http
|
||||
tls:
|
||||
- hosts:
|
||||
- project-x.moritz.koebele-online.de
|
||||
secretName: epaper-weekly-calendar-tls
|
||||
wait: true
|
||||
- name: imagepullsecrets
|
||||
namespace: project-x
|
||||
chart: gabibbo97/imagepullsecrets
|
||||
version: 3.0.0
|
||||
values:
|
||||
- imagePullSecret:
|
||||
secretName: registry-credentials
|
||||
registryURL: core.harbor.koebele-online.de
|
||||
username: {{ requiredEnv "HARBOR_USER"}}
|
||||
password: {{ requiredEnv "HARBOR_PASSWORD"}}
|
||||
Reference in New Issue
Block a user