Hi, I am fairly new to Kubernetes and Traefik 2.0 so sorry if this is a particular edge-case.
I am working on creating a GitOps (w/ Flux) project using some RPis I have laying around. I've been playing around with Sealed Secrets from Bitnami. So far I've gotten a good grasp on how to handle things but I am stuck. I would like to basically put the hostname in the routes section of the IngressRoute object in a secret so I don't have to expose this on my public git repo. I know this is a little outside of the scope of just Traefik, but maybe I am missing something. For anyone interested in my project I'll leave a link here.
My deployment is as follows:
---
kind: Deployment
apiVersion: apps/v1
metadata:
namespace: default
name: homepage
labels:
app: homepage
spec:
replicas: 3
selector:
matchLabels:
app: homepage
template:
metadata:
labels:
app: homepage
spec:
containers:
- name: homepage
image: my-awesome-registry/homepage:latest-arm32
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: homepage
spec:
ports:
- protocol: TCP
port: 30684
targetPort: 80
selector:
app: homepage
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
namespace: default
name: homepage-ingressroute
spec:
entryPoints:
- web
routes:
- match: Host(`my-awesome-host.io`) && PathPrefix(`/`)
kind: Rule
priority: 1
services:
- name: homepage
port: 30684
Is there any method you would use to hide my-awesome-host.io
from the yaml? Thanks for any insight, it's greatly appreciated.