diff --git a/apps/hello-app/image-automation.yaml b/apps/hello-app/image-automation.yaml index 69aff57..e73c8ad 100644 --- a/apps/hello-app/image-automation.yaml +++ b/apps/hello-app/image-automation.yaml @@ -53,5 +53,5 @@ spec: push: branch: main update: - path: ./ + path: ./apps/hello-app strategy: Setters diff --git a/apps/hello-app/setter-test.yaml b/apps/hello-app/setter-test.yaml deleted file mode 100644 index aa44141..0000000 --- a/apps/hello-app/setter-test.yaml +++ /dev/null @@ -1,27 +0,0 @@ -# Throwaway diagnostic file - delete once the Setters investigation is done. -# Testing whether a same-namespace-as-ImageUpdateAutomation ImagePolicy -# resolves differently than the existing cross-namespace one. -apiVersion: image.toolkit.fluxcd.io/v1 -kind: ImagePolicy -metadata: - name: hello-app-samens-test - namespace: flux-system -spec: - imageRepositoryRef: - name: hello-app - namespace: hello-app - policy: - numerical: - order: asc - filterTags: - pattern: '^main-[a-f0-9]+-(?P\d+)$' - extract: '$ts' ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: setter-test - namespace: hello-app -data: - image: git.boglabob.com/codegit/hello-app:latest # {"$imagepolicy": "hello-app:hello-app"} - image_samens: git.boglabob.com/codegit/hello-app:latest # {"$imagepolicy": "flux-system:hello-app-samens-test"}