Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are two ways to do this:

  1. The simplest way to achieve this is to use kubectl:Use kubectl

Code Block
kubectl create secret generic cdcm-connection-routing --from-file=connection-routing.yml=./connection-routing.yml -n cdcm
  1. f the secret has to be created manually or from a vault, you can use this template:

Code Block
apiVersion: v1
data:
  connection-routing.yml: <base64 encoded content of the file connection-routing.yml>
kind: Secret
metadata:
  name: cdcm-connection-routing
  namespace: cdcm
type: Opaque

...