Skip to content

Commit

Permalink
fix: add reloader annotation to cosi driver (#3169)
Browse files Browse the repository at this point in the history
* fix: add reloader annotation to cosi driver

* chore: change to json6902

(cherry picked from commit 9808f2e)
  • Loading branch information
cwyl02 committed Feb 14, 2025
1 parent 30f272e commit 552112e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions services/cosi-driver-nutanix/0.2.0/cosi-driver-nutanix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ spec:
- kind: ConfigMap
name: cosi-driver-nutanix-0.2.0-d2iq-defaults
targetNamespace: ${releaseNamespace}
postRenderers:
- kustomize:
patches:
- patch: |
- op: add
path: /metadata/annotations/secret.reloader.stakater.com~1reload
value: ${releaseName} # UI Creates a federatedsecret whose name is equal to AppDeployment name (which will be equal to releaseName).
target:
group: apps
version: v1
kind: Deployment
name: ${releaseName}
namespace: ${releaseNamespace}

0 comments on commit 552112e

Please sign in to comment.