Skip to content

Commit

Permalink
chore: add debug log to github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <[email protected]>
  • Loading branch information
Rory-Z committed Aug 15, 2023
1 parent 456cc5e commit 99621eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
--set image.tag=${{ github.sha }} \
--namespace emqx-operator-system \
--create-namespace
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"}]'
- name: Check operator
timeout-minutes: 5
run: kubectl wait --for=condition=Ready pods -l "control-plane=controller-manager" -n emqx-operator-system
Expand Down
10 changes: 5 additions & 5 deletions apis/apps/v2beta1/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const DefaultBootstrapAPIKey string = "emqx-operator-controller"

const (
// labels
LabelsNameKey string = "app.kubernetes.io/name" // emqx
LabelsInstanceKey string = "app.kubernetes.io/instance" // my-emqx
LabelsComponentKey string = "app.kubernetes.io/component" // core, replicant, dashboard, listeners, config
LabelsPartOfKey string = "app.kubernetes.io/part-of" // emqx
LabelsManagedByKey string = "app.kubernetes.io/managed-by" // emqx-operator
LabelsNameKey string = "app.emqx.io/name" // emqx
LabelsInstanceKey string = "app.emqx.io/instance" // my-emqx
LabelsComponentKey string = "app.emqx.io/component" // core, replicant, dashboard, listeners, config
LabelsPartOfKey string = "app.emqx.io/part-of" // emqx
LabelsManagedByKey string = "app.emqx.io/managed-by" // emqx-operator
LabelsPodTemplateHashKey string = "apps.emqx.io/pod-template-hash"
)

Expand Down

0 comments on commit 99621eb

Please sign in to comment.