External (multiple domain names ) #1807
-
can anybody help me and explain, i got cluster up and running but I'm not able to figure out how to use flux to add multiple domain names, at the moment I'm able to host one domain name with multiple subdomains but how can i host multiple domain names, and is there a way to use flux or any other part of the template to add more domain names, i don't want to manually add domains in cluster tried it and it works but when flux get updated from git repo the cluster resets all my setting so I'm searching for the way to add them thru git repo I'm sorry if this is wrong place to aske but i tried everything and still not successful. ty all for any info |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Apologies but this comment makes me think you should get more familiar with the layout, tooling and paradigms used here. Your GitHub repository is the desired state of your Kubernetes cluster. Add, update or remove YAML files by commiting and pushing them to your repo, then Flux will apply them. Or even better, create a new branch of your What you did is known as a "dirty edit", meaning the changes you made to the cluster were not tracked in Git. Flux will revert changes you make to the resources it knows about because your desired state is Git, not your dirty edits. If Flux does not know about those resources, it won't touch them. |
Beta Was this translation helpful? Give feedback.
I can give a high level overview as there are a lot of resources to touch to make it happen and I feel this is a bit outside normal usage. Hopefully you can fill in the rest thru trial and error and reading documentation.
${SECRET_DOMAIN}
and update all the sops secrets that reference it.cluster-secrets.sops.yaml
, call itSECRET_DOMAIN_2
and give it your other domain.ClusterIssuer
YAML file and change the dnsZones todnsZones: ["${SECRET_DOMAIN}","${SECRET_DOMAIN_2}"]