File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,17 @@ jobs:
51
51
KUBEBUILDER_ASSETS : ${{ github.workspace }}/kubebuilder/bin
52
52
- name : Run smoke tests
53
53
run : |
54
- kubectl apply -f ./config/samples
54
+ kubectl -n source-system apply -f ./config/samples
55
55
kubectl -n source-system rollout status deploy/source-controller --timeout=1m
56
- kubectl wait gitrepository/gitrepository-sample --for=condition=ready --timeout=1m
57
- kubectl wait helmrepository/helmrepository-sample --for=condition=ready --timeout=1m
58
- kubectl wait helmchart/helmchart-sample --for=condition=ready --timeout=1m
56
+ kubectl -n source-system wait gitrepository/gitrepository-sample --for=condition=ready --timeout=1m
57
+ kubectl -n source-system wait helmrepository/helmrepository-sample --for=condition=ready --timeout=1m
58
+ kubectl -n source-system wait helmchart/helmchart-sample --for=condition=ready --timeout=1m
59
59
kubectl -n source-system logs deploy/source-controller
60
60
- name : Debug failure
61
61
if : failure()
62
62
run : |
63
- kubectl get gitrepositories -oyaml
64
- kubectl get helmrepositories -oyaml
65
- kubectl get helmcharts -oyaml
63
+ kubectl -n source-system get gitrepositories -oyaml
64
+ kubectl -n source-system get helmrepositories -oyaml
65
+ kubectl -n source-system get helmcharts -oyaml
66
66
kubectl -n source-system get all
67
67
kubectl -n source-system logs deploy/source-controller
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ func main() {
85
85
Port : 9443 ,
86
86
LeaderElection : enableLeaderElection ,
87
87
LeaderElectionID : "305740c0.fluxcd.io" ,
88
+ Namespace : os .Getenv ("RUNTIME_NAMESPACE" ),
88
89
})
89
90
if err != nil {
90
91
setupLog .Error (err , "unable to start manager" )
You can’t perform that action at this time.
0 commit comments