Skip to content

Commit

Permalink
chore: default enable zap-devel in kustomize
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <[email protected]>
  • Loading branch information
Rory-Z committed Jan 7, 2024
1 parent e750e72 commit 32cb361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ jobs:
if: matrix.install == 'static'
env:
IMG: "emqx/emqx-operator-controller:${{ github.sha }}"
run: |
make deploy
kubectl patch -n emqx-operator-system deployment emqx-operator-controller-manager \
--type=json \
-p='[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--zap-devel=true"}]'
run: make deploy
- name: Deploy controller
if: matrix.install == 'helm'
run: |
Expand Down
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
- --leader-elect
- --metrics-bind-address=:8080
- --health-probe-bind-address=:8081
- --zap-devel=true
image: controller:latest
name: manager
securityContext:
Expand Down

0 comments on commit 32cb361

Please sign in to comment.