The docker images containing the email signature server are stored in an azure repository. Since azure only provides private repositories we need a docker registry so images can be successfully pulled into kubernetes. This secret changed at the beginning of April, which means that no customer that had the email signature server installed before this date can update to a new version of the image or update their kubernetes version.
Steps to follow in order to update the registry secret:
- Create the templafy-container-registry.yaml file and paste the content found at the end of the tutorial to it.
- Open powershell and navigate to the folder where the file was copied.
- Open kubernetes dashboard, the detailed steps for this are provided in the azure portal (portal.azure.com) under the kubernetes service by selecting Overview and then choosing View kubernetes dashboard:
- Run the following command in the powershell:
kubectl get namespacesthis will get you all the namespaces, you need to find the one under which the email signature server is running.
- Run the following command to set the current namespace:
kubectl config set-context templafyemailsignatureserver --namespace=templafy-emailsignatureWhere:
- is the kubernetes service name in the azure portal - the namespace identified at the previous step
- Run the following command to update the docker registry secret:
kubectl apply -f .\templafy-container-registry.yaml
- Verify the secret is updated by opening the kubernetes dashboard and navigating to the secrets area, here you will see a secret with the name: templafy-container-registry. Select it and click the eye icon for the dockerconfig.json, the username and password displayed should have the following values:
The content of the templafy-container-registry.yaml file:
apiVersion: v1 kind: Secret metadata: name: templafy-container-registry type: kubernetes.io/dockerconfigjson data: ".dockerconfigjson": "eyJhdXRocyI6eyJodHRwczovL3RlbXBsYWZ5cHJvZC5henVyZWNyLmlvIjp7InVzZXJuYW1lIjoiOWIzMTFkMDgtMTdlMC00OWQwLTk4MmMtOGEzNWFjYTY4NmU5IiwicGFzc3dvcmQiOiJmNkxvaU5ueHVIU0YxTHVJVmRxQ2ZYaGYyMmxuKzg4V3F0bEkxOE5uZXZ3PSIsImVtYWlsIjoic3VwdEB0ZW1wbGFmeS5jb20iLCJhdXRoIjoiT1dJek1URmtNRGd0TVRkbE1DMDBPV1F3TFRrNE1tTXRPR0V6TldGallUWTRObVU1T21ZMlRHOXBUbTU0ZFVoVFJqRk1kVWxXWkhGRFpsaG9aakl5Ykc0ck9EaFhjWFJzU1RFNFRtNWxkbmM5In19fQ=="