...
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:
Code Block |
---|
apiVersion: v1
data:
tls.crt: <Complete TLS certificate chain, base64 encoded>
tls.key: <TLS certificate chain, base64 encoded>
kind: Secret
metadata:
name: cdcm-certs
type: kubernetes.io/tls |
Apply the secret
...
:
Code Block |
---|
sudo kubectl apply -f tls-secret.yaml -n cdcm |
Create a file “regcred-secret.yaml”, using this template:
Code Block |
---|
apiVersion: v1
data:
.dockerconfigjson: <Base64 encoded image registry credentials>
kind: Secret
metadata:
name: regcred
type: kubernetes.io/dockerconfigjson |
Apply the secret
...
:
Code Block |
---|
sudo kubectl apply -f regcred-secret.yaml -n cdcm |
Create your local values.yaml
Create a file “values.yaml”, using this template
Code Block |
---|
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.