Comments (2)
@jkremser all looks reasonable and good to me. And breaking change is apparently unavoidable here. But we are used to that(tm) :D
from k8gb.
currently, the edgeDNSServer
and edgeDNSServerPort
are passed to operator as environment variables.
...
- name: EDGE_DNS_SERVER
value: {{ .Values.k8gb.edgeDNSServer }}
- name: EDGE_DNS_SERVER_PORT
value: "53"
...
If multiple edgeDNSServers should be supported, I'd suggest something like this:
...
- name: EDGE_DNS_SERVERS
value: "1.1.1.1:53, 2.2.2.2, 3.3.3.3:1053"
...
so that the ip and port are bounded together and separated by the colon :
with a rule, that if the port is missing it would default to 53
. Also the entries are separated by comma and the order matters (the server that's listed first is the primary one / first in the fallback mechanism)
As for the helm chart and the values.yaml
it may look like this:
edgeDNSServer: &edgeDNSServer:
- 1.1.1.1
- 2.2.2.2:1053
then we can use:
{{ join "," .Values.some.array }}
at chart/k8gb/operator.yaml
Bad news is that it's a breaking change, the name that better represents the nature of the variable would be the plural form - i.e. s/EDGE_DNS_SERVER/EDGE_DNS_SERVERS/
+ the EDGE_DNS_SERVER_PORT
variable is not needed anymore, because the port can be optionally passed in the EDGE_DNS_SERVERS
comma-separated list itself.
if it makes sense, I can start working on this.
from k8gb.
Related Issues (20)
- K8GB for the service of Type ExternalName/Loadbalancer HOT 1
- Track the impact of HashiCorp license MPL -> BSL HOT 1
- HelmChart values validations
- Reverse proxy support? HOT 4
- 🟢 Revisit github workflow pipelines HOT 1
- 🟢 Revisit HelmChart
- 🟢 Revisit documentation
- 🟢 Release K8gb v1.0.0
- 🟢 Replace the old k8gb code with the new k8gb-lite code
- Push k8gb to OCP operator hub
- Security slam HOT 1
- Cluster can't return own entries
- document split brain scenario and the system behaviour HOT 2
- Create security self-assessment.md of k8gb and contribute it to CNCF Tag security
- Expand renovate to more codebase containing versions
- Please add yourself to `ADOPTERS.md`!
- "Additional property cloudflare is not allowed" appears when deploying Cloudflare integration HOT 2
- `TestFailoverPlayground ` flaky terratest
- Document the case of when a load balancing configuration is not deployed in every cluster
- Release pipeline fails with cosign validation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8gb.