Manually Rotate Chainguard Secret
This process will be automated in the future but currently it’s manual.
Overview of how we use the Chainguard image
There is a flag in the ingress module that can be toggled to enable support for the Chainguard image:
enable_chainguard = true
This then tells the helm chart to use the following image pull secret:
%{ if enable_chainguard ~}
imagePullSecrets:
- name: chainguard-credentials
%{ endif ~}
The secret is populated from the following parameter store /cloud-platform/infrastructure/account/chainguard_registry_credentials when the default ingress namespace is created.
Rotate Chainguard Secret
The Chainguard Secret is a docker login auth token which needs to be generated.
Create a new access token via the Chainguard console
Run the docker login command provided
Copy the generated docker auth config to the parameter store and save
Re-run the
infrastructurepipelines to ensure the new docker credentials are applied to the kubernetes secretsOptional: rollout restart ingress controllers