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:
5151 KUBEBUILDER_ASSETS : ${{ github.workspace }}/kubebuilder/bin
5252 - name : Run smoke tests
5353 run : |
54- kubectl apply -f ./config/samples
54+ kubectl -n source-system apply -f ./config/samples
5555 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
5959 kubectl -n source-system logs deploy/source-controller
6060 - name : Debug failure
6161 if : failure()
6262 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
6666 kubectl -n source-system get all
6767 kubectl -n source-system logs deploy/source-controller
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ func main() {
8585 Port : 9443 ,
8686 LeaderElection : enableLeaderElection ,
8787 LeaderElectionID : "305740c0.fluxcd.io" ,
88+ Namespace : os .Getenv ("RUNTIME_NAMESPACE" ),
8889 })
8990 if err != nil {
9091 setupLog .Error (err , "unable to start manager" )
You can’t perform that action at this time.
0 commit comments