Move https protocol to public-oidc
template
Since any OIDC redirects will need to ensure https, move their common patch to a template layer.
This commit is contained in:
parent
af28ded138
commit
633af9f360
4 changed files with 13 additions and 10 deletions
11
kustomize/public-oidc/kustomization.yaml
Normal file
11
kustomize/public-oidc/kustomization.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ../deployment/
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- path: patches/httproute-http.yaml
|
||||||
|
target:
|
||||||
|
kind: HTTPRoute
|
||||||
|
name: http
|
|
@ -12,7 +12,7 @@ transformers:
|
||||||
|
|
||||||
namePrefix: linkwarden-
|
namePrefix: linkwarden-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/deployment/
|
- ../../../kustomize/public-oidc/
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
@ -72,10 +72,6 @@ patches:
|
||||||
- path: patches/pvc.yaml
|
- path: patches/pvc.yaml
|
||||||
target:
|
target:
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
- path: patches/httproute-http.yaml
|
|
||||||
target:
|
|
||||||
kind: HTTPRoute
|
|
||||||
name: http
|
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
|
@ -12,7 +12,7 @@ transformers:
|
||||||
|
|
||||||
namePrefix: mealie-
|
namePrefix: mealie-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/deployment/
|
- ../../../kustomize/public-oidc/
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
@ -69,10 +69,6 @@ patches:
|
||||||
- path: patches/deployment.yaml
|
- path: patches/deployment.yaml
|
||||||
target:
|
target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
- path: patches/httproute-http.yaml
|
|
||||||
target:
|
|
||||||
kind: HTTPRoute
|
|
||||||
name: http
|
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue