added annotations
This commit is contained in:
1 parent
a9c785cbb0
commit
a800718c75
4 files changed
+21
-1
No files matched your search
+3
-1
@@ -23,4 +23,6 @@ helm template $app $full_path --namespace $app \
|
||||
--values $argocd_values_deployment_path \
|
||||
--values $full_path/values.yaml \
|
||||
--values $full_path/values-$deployment.yaml \
|
||||
> $tmp_path
|
||||
> $tmp_path
|
||||
|
||||
echo $tmp_path
|
||||
@@ -33,6 +33,11 @@ kind: Ingress
|
||||
metadata:
|
||||
name: "{{.prefix}}.{{.global.domain}}"
|
||||
namespace: {{ .namespace }}
|
||||
annotations:
|
||||
homelab-ingress/managing-app-namespace: "ingresses"
|
||||
{{ range $k, $v := (.annotations | default (dict )) }}
|
||||
{{ $k }}: {{ $v }}
|
||||
{{ end }}
|
||||
spec:
|
||||
rules:
|
||||
- host: "{{.prefix}}.{{.global.domain}}"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: nextcloud
|
||||
namespace: app-nextcloud
|
||||
spec:
|
||||
redirectRegex:
|
||||
permanent: true
|
||||
regex: "https://(.*)/.well-known/(?:card|cal)dav"
|
||||
replacement: "https://${1}/remote.php/dav"
|
||||
@@ -7,6 +7,8 @@ services:
|
||||
service: "nextcloud"
|
||||
namespace: "app-nextcloud"
|
||||
port: 8080
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.middlewares: app-nextcloud-nextcloud@kubernetescrd
|
||||
global: {}
|
||||
acmeServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
skipTLSVerify: "false"
|
||||
Reference in new issue
Block a user