ori-edge / k8s_gateway

A CoreDNS plugin to resolve all types of external Kubernetes resources
Apache License 2.0
295 stars 64 forks source link

Support multiple domains #146

Closed mhumeSF closed 1 year ago

mhumeSF commented 2 years ago

This issue was raised here https://github.com/ori-edge/k8s_gateway/issues/53

This small edit to configmap enables support for multiple domains.

# values.yaml
domain: foo.com bar.com

Result from `helm template ./k8s-gateway -f values.yaml

# Source: k8s-gateway/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: release-name-k8s-gateway
...
data:
  Corefile: |-
    .:1053 {
        k8s_gateway foo.com bar.com {
          apex release-name-k8s-gateway.cert-manager
          ttl 300
        }
        ...
    }
networkop commented 1 year ago

thanks @mhumeSF . Can you bump the helm chart version please? https://github.com/ori-edge/k8s_gateway#helm-charts

mhumeSF commented 1 year ago

@networkop Sure thing – chart has been bumped with updated chart package and index.yaml