proper secret handling
This commit is contained in:
parent
cdf1763b03
commit
bd87640d22
|
@ -1,24 +1,24 @@
|
|||
# apiVersion: networking.k8s.io/v1
|
||||
# kind: Ingress
|
||||
# metadata:
|
||||
# annotations:
|
||||
# cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
# labels:
|
||||
# app: kitchenowl
|
||||
# name: kitchenowl
|
||||
# spec:
|
||||
# rules:
|
||||
# - host: kitchenowl.tobru.ch
|
||||
# http:
|
||||
# paths:
|
||||
# - path: /
|
||||
# pathType: Prefix
|
||||
# backend:
|
||||
# service:
|
||||
# name: front
|
||||
# port:
|
||||
# number: 80
|
||||
# tls:
|
||||
# - hosts:
|
||||
# - kitchenowl.tobru.ch
|
||||
# secretName: ingress-cert
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
labels:
|
||||
app: kitchenowl
|
||||
name: kitchenowl
|
||||
spec:
|
||||
rules:
|
||||
- host: kitchenowl.tobru.ch
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: front
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- kitchenowl.tobru.ch
|
||||
secretName: ingress-cert
|
||||
|
|
8
apps/kitchenowl/kustomization.yaml
Normal file
8
apps/kitchenowl/kustomization.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- pvc.yaml
|
||||
generators:
|
||||
- secret-generator.yaml
|
6
apps/kitchenowl/secret-generator.yaml
Normal file
6
apps/kitchenowl/secret-generator.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
apiVersion: viaduct.ai/v1
|
||||
kind: ksops
|
||||
metadata:
|
||||
name: secret-generator
|
||||
files:
|
||||
- secret.sops.yaml
|
Loading…
Reference in a new issue