apiVersion: v1
kind: Secret
metadata:
  name: cluster-credentials
  namespace: container-mom-system
type: Opaque
stringData:
  CLUSTER_EUW_ENDPOINT: "https://api.euw.example.com"
  CLUSTER_EUW_TOKEN: "sa-token-for-euw"
  CLUSTER_EUW_CA: "base64-encoded-ca-cert"
  CLUSTER_NAE_ENDPOINT: "https://api.nae.example.com"
  CLUSTER_NAE_TOKEN: "sa-token-for-nae"
  CLUSTER_NAE_CA: "base64-encoded-ca-cert"
  CLUSTER_EUNE_ENDPOINT: "https://api.eune.example.com"
  CLUSTER_EUNE_TOKEN: "sa-token-for-eune"
  CLUSTER_EUNE_CA: "base64-encoded-ca-cert"
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: container-mom-operator
  namespace: container-mom-system
spec:
  template:
    spec:
      containers:
      - name: operator
        envFrom:
        - secretRef:
            name: cluster-credentials 