update
This commit is contained in:
5
.gitlab-ci.yml
Normal file
5
.gitlab-ci.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
include:
|
||||
- project: 'developerdurp/yml'
|
||||
ref: main
|
||||
file: 'pipelines/helm.yml'
|
||||
@@ -1,37 +0,0 @@
|
||||
{{ if .Values.ingress.enabled }}
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: "{{ .Chart.Name }}-ingress"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host("{{ .Values.ingress.host }}") && PathPrefix(`/`)
|
||||
middlewares:
|
||||
- name: authentik-proxy-provider
|
||||
namespace: traefik
|
||||
kind: Rule
|
||||
services:
|
||||
- name: "{{ .Chart.Name }}-service"
|
||||
port: {{ .Values.service.port }}
|
||||
tls:
|
||||
secretName: {{ .Values.ingress.tls }}
|
||||
{{ end }}
|
||||
|
||||
---
|
||||
|
||||
{{ if .Values.ingress.enabled }}
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: {{ .Values.ingress.tls }}
|
||||
spec:
|
||||
secretName: {{ .Values.ingress.tls }}
|
||||
issuerRef:
|
||||
name: {{ .Values.ingress.clusterissuer }}
|
||||
kind: ClusterIssuer
|
||||
commonName: {{ .Values.ingress.host }}
|
||||
dnsNames:
|
||||
- {{ .Values.ingress.host }}
|
||||
{{ end }}
|
||||
@@ -9,3 +9,4 @@ dependencies:
|
||||
- name: postgresql
|
||||
version: 12.5.*
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
@@ -20,16 +20,13 @@ deployment:
|
||||
path: /api/health/getHealth
|
||||
port: 8080
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
clusterissuer: letsencrypt-production
|
||||
host: durpapi.durp.info
|
||||
tls: durpapi-tls
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 80
|
||||
targetport: 8080
|
||||
|
||||
swagger:
|
||||
host: api.durp.info/durpapi
|
||||
host: api.durp.info
|
||||
|
||||
postgresql:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user