Skip to Content

Create ScaleOps token secret using ArgoCD Vault

Overview

This guide outlines the steps to configure ScaleOps token secret using ArgoCD Vault.
It is assumed that you have already set up the ArgoCD Vault Plugin.

If you follow this guide, do not include scaleopsToken in your helm values.

Steps

  1. Get secret data:
kubectl create secret docker-registry scaleops \ --docker-username=scaleops \ --docker-server=registry.scaleops.com \ --docker-password=<YOUR_SCALEOPS_TOKEN> \ --namespace scaleops-system \ --dry-run=client -o go-template='{{ index .data ".dockerconfigjson" | base64decode }}'
  1. Store the output of the command above on your secret provider.

  2. Update your ScaleOps helm values with the following:

global: privateImageRegistry: enabled: true pullSecretName: scaleops createSecret: dockerconfigjson dockerconfigjson: '<path:path/to/secret#value | base64encode>' # Replace with your secret path