File tree Expand file tree Collapse file tree 8 files changed +64
-6
lines changed Expand file tree Collapse file tree 8 files changed +64
-6
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ jobs:
120120 run : TEST_KUBECONFIG=${{ steps.prep.outputs.kubeconfig-path }} make e2e
121121 - name : Run flux bootstrap
122122 run : |
123- ./bin/flux bootstrap git --manifests ./manifests/install / \
123+ ./bin/flux bootstrap git --manifests ./manifests/test / \
124124 --components-extra=image-reflector-controller,image-automation-controller \
125125 --url=https://github.com/fluxcd-testing/${{ steps.prep.outputs.cluster }} \
126126 --branch=main \
Original file line number Diff line number Diff line change 5151 echo "test_repo_name=$TEST_REPO_NAME" >> $GITHUB_OUTPUT
5252 - name : bootstrap init
5353 run : |
54- ./bin/flux bootstrap github --manifests ./manifests/install / \
54+ ./bin/flux bootstrap github --manifests ./manifests/test / \
5555 --owner=fluxcd-testing \
5656 --image-pull-secret=ghcr-auth \
5757 --registry-creds=fluxcd:$GITHUB_TOKEN \
6666 kubectl -n flux-system get secret ghcr-auth | grep dockerconfigjson
6767 - name : bootstrap no-op
6868 run : |
69- ./bin/flux bootstrap github --manifests ./manifests/install / \
69+ ./bin/flux bootstrap github --manifests ./manifests/test / \
7070 --owner=fluxcd-testing \
7171 --image-pull-secret=ghcr-auth \
7272 --repository=${{ steps.vars.outputs.test_repo_name }} \
7878 - name : bootstrap customize
7979 run : |
8080 make setup-bootstrap-patch
81- ./bin/flux bootstrap github --manifests ./manifests/install / \
81+ ./bin/flux bootstrap github --manifests ./manifests/test / \
8282 --owner=fluxcd-testing \
8383 --repository=${{ steps.vars.outputs.test_repo_name }} \
8484 --branch=main \
9898 - name : test image automation
9999 run : |
100100 make setup-image-automation
101- ./bin/flux bootstrap github --manifests ./manifests/install / \
101+ ./bin/flux bootstrap github --manifests ./manifests/test / \
102102 --owner=fluxcd-testing \
103103 --repository=${{ steps.vars.outputs.test_repo_name }} \
104104 --branch=main \
Original file line number Diff line number Diff line change 6565 ./bin/flux check --pre
6666 - name : flux install --manifests
6767 run : |
68- ./bin/flux install --manifests ./manifests/install /
68+ ./bin/flux install --manifests ./manifests/test /
6969 - name : flux create secret
7070 run : |
7171 ./bin/flux create secret git git-ssh-test \
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ resources:
55 - namespace.yaml
66 - scc.yaml
77 - ../bases/source-controller
8+ - ../bases/source-watcher
89 - ../bases/kustomize-controller
910 - ../bases/notification-controller
1011 - ../bases/helm-controller
@@ -17,6 +18,8 @@ transformers:
1718images :
1819 - name : fluxcd/source-controller
1920 newName : ghcr.io/fluxcd/source-controller
21+ - name : fluxcd/source-watcher
22+ newName : ghcr.io/fluxcd/source-watcher
2023 - name : fluxcd/kustomize-controller
2124 newName : ghcr.io/fluxcd/kustomize-controller
2225 - name : fluxcd/helm-controller
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ subjects:
2626 - kind : ServiceAccount
2727 name : source-controller
2828 namespace : flux-system
29+ - kind : ServiceAccount
30+ name : source-watcher
31+ namespace : flux-system
2932 - kind : ServiceAccount
3033 name : kustomize-controller
3134 namespace : flux-system
Original file line number Diff line number Diff line change 1+ # This overlay is used in end-to-end tests and contains all optional controllers.
2+ apiVersion : kustomize.config.k8s.io/v1beta1
3+ kind : Kustomization
4+ namespace : flux-system
5+ resources :
6+ - namespace.yaml
7+ - ../bases/source-controller
8+ - ../bases/source-watcher
9+ - ../bases/kustomize-controller
10+ - ../bases/notification-controller
11+ - ../bases/helm-controller
12+ - ../bases/image-reflector-controller
13+ - ../bases/image-automation-controller
14+ - ../rbac
15+ - ../policies
16+ transformers :
17+ - labels.yaml
18+ images :
19+ - name : fluxcd/source-controller
20+ newName : ghcr.io/fluxcd/source-controller
21+ - name : fluxcd/source-watcher
22+ newName : ghcr.io/fluxcd/source-watcher
23+ - name : fluxcd/kustomize-controller
24+ newName : ghcr.io/fluxcd/kustomize-controller
25+ - name : fluxcd/helm-controller
26+ newName : ghcr.io/fluxcd/helm-controller
27+ - name : fluxcd/notification-controller
28+ newName : ghcr.io/fluxcd/notification-controller
29+ - name : fluxcd/image-reflector-controller
30+ newName : ghcr.io/fluxcd/image-reflector-controller
31+ - name : fluxcd/image-automation-controller
32+ newName : ghcr.io/fluxcd/image-automation-controller
Original file line number Diff line number Diff line change 1+ apiVersion : builtin
2+ kind : LabelTransformer
3+ metadata :
4+ name : labels
5+ labels :
6+ app.kubernetes.io/part-of : flux
7+ app.kubernetes.io/instance : flux-system
8+ fieldSpecs :
9+ - path : metadata/labels
10+ create : true
11+ - kind : Deployment
12+ path : spec/template/metadata/labels
13+ create : true
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Namespace
3+ metadata :
4+ name : flux-system
5+ labels :
6+ pod-security.kubernetes.io/warn : restricted
7+ pod-security.kubernetes.io/warn-version : latest
You can’t perform that action at this time.
0 commit comments