GCore

GCore provided supports their managed DNS offer. First, you’ll need to create an API token and then store the value of the generated token into a secret.

API_TOKEN="GCORE-generated-secret"
kubectl create secrets generic gcore-secrets \
  --namespace phonebook-system \
  --from-literal=apiToken=${API_TOKEN}
apiVersion: se.quencer.io/v1alpha1
kind: DNSIntegration
metadata:
  name: gcore
spec:
  provider:
    name: gcore
  zones:
    - mydomain.com
  secretRef:
    name: gcore-secrets
    keys:
      - key: "apiToken"
        name: "GCORE_API_TOKEN"

Deploying

Now you can deploy with the normal command:

helm upgrade --install phonebook phonebook/phonebook \
  --namespace phonebook-system \
  --create-namespace \