Update 2 files
- /heimdall/templates/ingress.yaml - /heimdall/templates/test.yaml
This commit is contained in:
@@ -2,7 +2,6 @@ apiVersion: traefik.containo.us/v1alpha1
|
|||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
|
|
||||||
name: heimdall-ingress
|
name: heimdall-ingress
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
|
|||||||
@@ -4,51 +4,6 @@ metadata:
|
|||||||
name: whoami-external-dns
|
name: whoami-external-dns
|
||||||
annotations:
|
annotations:
|
||||||
external-dns.alpha.kubernetes.io/hostname: whoami.durp.info
|
external-dns.alpha.kubernetes.io/hostname: whoami.durp.info
|
||||||
|
external-dns.alpha.kubernetes.io/target: home.durp.info
|
||||||
spec:
|
spec:
|
||||||
type: ExternalName
|
type: ExternalName
|
||||||
externalName: $(IP_ADDRESS)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: my-config
|
|
||||||
data:
|
|
||||||
IP_ADDRESS: ""
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: my-secret
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
name: vault
|
|
||||||
kind: SecretStore
|
|
||||||
target:
|
|
||||||
name: my-secret
|
|
||||||
data:
|
|
||||||
- secretKey: ip-address
|
|
||||||
remoteRef:
|
|
||||||
key: secrets/external-dns/ip-address
|
|
||||||
property: ip-address
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: external-secrets.io/v1beta1
|
|
||||||
kind: SecretStore
|
|
||||||
metadata:
|
|
||||||
name: vault
|
|
||||||
spec:
|
|
||||||
provider:
|
|
||||||
vault:
|
|
||||||
server: "http://vault.vault.svc.cluster.local:8200"
|
|
||||||
path: "secrets"
|
|
||||||
version: "v2"
|
|
||||||
auth:
|
|
||||||
kubernetes:
|
|
||||||
mountPath: "kubernetes"
|
|
||||||
role: "external-secrets"
|
|
||||||
Reference in New Issue
Block a user