Prerequisites
Kubernetes or Openshift Cluster
TLS certificates
Credentials of and access to https://repo.secure.mid.de/
Credentials of and access to https://repo.mid.de
Preparations
Secrets for the TLS certificate and credentials for the image registry
Create a file named “tls-secret.yaml”, using this template:
apiVersion: v1 data: tls.crt: <Complete TLS certificate chain, base64 encoded> tls.key: <TLS certificate key, base64 encoded> kind: Secret metadata: name: cdcm-certs type: kubernetes.io/tls
Apply the secret:
sudo kubectl apply -f tls-secret.yaml -n cdcm
Create a file “regcred-secret.yaml”, using this template:
apiVersion: v1 data: .dockerconfigjson: <Base64 encoded image registry credentials> kind: Secret metadata: name: regcred type: kubernetes.io/dockerconfigjson
Apply the secret:
sudo kubectl apply -f regcred-secret.yaml -n cdcm
Add the Chart repo
sudo helm repo add cdcm https://repo.secure.mid.de/chartrepo/cdcm --username <user> --password <password> && sudo helm repo update
Create your local values.yaml
Create a file “values.yaml”, using this template
global: domain: "<your domain>" env: adminToken: "<base64 string of user:password>"
Replace the placeholder <your domain> with the FQDN of your instance
Replace the placehoder for the adminToken with the base64 encoded string containing arbitrary user credentials of a user, that can login as administrator in CDCM.
Add Comment