Reconciliation of Secret Manager Template
Learn how to reconcile Custom Secret Managers and Secrets when their referenced Secret Manager Template is updated to keep configurations in sync and avoid pipeline failures.
Secret Manager Template reconciliation is the process of updating dependent Custom Secret Managers and Secrets when you modify their associated template. When you update a Secret Manager Template, all entities that use it need to be updated to match the new template settings.
How it works:
Harness automatically detects when a template has been modified
Alert banners appear on all dependent entities (Custom Secret Managers and Secrets)
You can review the configuration differences in a YAML diff view
Apply the changes to keep all the entities synchronized
This article guides you through the reconciliation process for both Custom Secret Managers and their dependent Secrets.
Prerequisites
Before you can reconcile templates, ensure you have the following configured:
A Custom Secret Manager that references the Secret Manager Template
A Secret that uses the Custom Secret Manager
Modify a Secret Manager Template
To show how reconciliation works, let's update a Secret Manager Template. In this example, we'll change template values from fixed values to runtime inputs:
Navigate to your Secret Manager Template in the Templates section
Click the More options (⋮) menu and select Open/Edit Template
In the Configuration section, change any value from Fixed value to Runtime Input
Click Save to apply your template updates
Reconcile the Secret Manager
After updating the template, you need to reconcile each Custom Secret Manager that references it
Navigate to the Custom Secret Manager and click Reconcile in the alert banner
On the details page, click Reconcile again to view the YAML diff
Review the configuration changes, provide values for any runtime inputs, and click Continue to apply
Reconcile the Secret
After reconciling the Secret Manager, update all dependent secrets:
Navigate to each Secret that uses the Custom Secret Manager and click Reconcile in the alert banner
On the Secret editing page, click Reconcile again to view the YAML diff
Review the configuration changes, provide values for any runtime inputs, and click Save to apply
Last updated
Was this helpful?
