Skip to content

faruryo/dns-tools

Repository files navigation

Docker

Developing

Knative Eventing setup

install

kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.23.1/eventing-crds.yaml
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.23.1/eventing-core.yaml

kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.23.1/in-memory-channel.yaml
kubectl apply --filename https://github.com/knative/eventing/releases/download/v0.23.1/mt-channel-broker.yaml

check

kubectl get pods -n knative-eventing

Installing Knative | Knative

Setup secret

Cloudflare tokens can be created at User Profile > API Tokens > API Tokens. The following settings are recommended:

  • Permissions:
    • Zone - DNS - Edit
    • Zone - Zone - Read
  • Zone Resources:
    • Include - All Zones

Set environment variables; we recommend using direnv.

export CLOUDFLARE_API_TOKEN="hogehoge"

Create a secret using an environment variable.

kubectl create secret generic dns-tools \
    --from-literal=CLOUDFLARE_API_TOKEN=$CLOUDFLARE_API_TOKEN

skaffold

skaffold dev --port-forward

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published