|
74 | 74 | path: '{{.name}}/manifests/undersync'
|
75 | 75 | - component: nautobot
|
76 | 76 | skipComponent: '{{has "nautobot" ((default "[]" (index .metadata.annotations "uc_skip_components") | fromJson))}}'
|
| 77 | + imageUpdaterImageList: nautobot=ghcr.io/rss-engineering/nautobot-rackspace:staging |
77 | 78 | sources:
|
78 | 79 | - repoURL: https://nautobot.github.io/helm-charts/
|
79 | 80 | chart: nautobot
|
@@ -161,6 +162,24 @@ spec:
|
161 | 162 | - repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}'
|
162 | 163 | targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}'
|
163 | 164 | path: '{{.name}}/manifests/argo-events'
|
| 165 | + - component: argocd-image-updater |
| 166 | + componentNamespace: argocd |
| 167 | + skipComponent: '{{has "argocd-image-updater" ((default "[]" (index .metadata.annotations "uc_skip_components") | fromJson))}}' |
| 168 | + sources: |
| 169 | + - repoURL: https://argoproj.github.io/argo-helm |
| 170 | + chart: argocd-image-updater |
| 171 | + targetRevision: 0.11.1 |
| 172 | + helm: |
| 173 | + releaseName: argocd-image-updater |
| 174 | + valueFiles: |
| 175 | + - $deploy/{{.name}}/helm-configs/argocd-image-updater.yaml |
| 176 | + ignoreMissingValueFiles: true |
| 177 | + - repoURL: '{{index .metadata.annotations "uc_repo_git_url"}}' |
| 178 | + targetRevision: '{{index .metadata.annotations "uc_repo_ref"}}' |
| 179 | + ref: understack |
| 180 | + - repoURL: '{{index .metadata.annotations "uc_deploy_git_url"}}' |
| 181 | + targetRevision: '{{index .metadata.annotations "uc_deploy_ref"}}' |
| 182 | + ref: deploy |
164 | 183 | - component: understack-workflows
|
165 | 184 | componentNamespace: argo-events
|
166 | 185 | skipComponent: '{{has "understack-workflows" ((default "[]" (index .metadata.annotations "uc_skip_components") | fromJson))}}'
|
@@ -238,6 +257,15 @@ spec:
|
238 | 257 | - ServerSideApply=true
|
239 | 258 | - RespectIgnoreDifferences=true
|
240 | 259 | templatePatch: |
|
| 260 | + {{- if hasKey . "imageUpdaterImageList" }} |
| 261 | + metadata: |
| 262 | + annotations: |
| 263 | + argocd-image-updater.argoproj.io/image-list: {{ .imageUpdaterImageList }} |
| 264 | + argocd-image-updater.argoproj.io/nautobot.update-strategy: digest |
| 265 | + argocd-image-updater.argoproj.io/nautobot.helm.image-name: nautobot.image.repository |
| 266 | + argocd-image-updater.argoproj.io/nautobot.helm.image-tag: nautobot.image.tag |
| 267 | + argocd-image-updater.argoproj.io/nautobot.platforms: unknown/unknown,linux/amd64 |
| 268 | + {{- end }} |
241 | 269 | spec:
|
242 | 270 | {{- if hasKey . "source" }}
|
243 | 271 | # indentation matters here. need to collapse to a single line to preserve it
|
|
0 commit comments