Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make manager the default container (vmware-tanzu#384)
This change makes `manager` the default container so that commands like `kubectl exec` and `kubectl logs` pick that container by default. Also handle a few trivial things like: - Changing the now unsupported `verbosity` with `-v` flag in kind load - Removing the incorrect kustomize path since we now add HOSTOSARCH in the binary path *Testing Done*: - Generated the manifests and verified that the annotation is present: $ grep -r 'kubectl.kubernetes.io/default-container: manager' artifacts/local-deployment.yaml artifacts/local-deployment.yaml: kubectl.kubernetes.io/default-container: manager - Verified that kubectl logs pick up the default container ╭─parunesh@parunesh-a01 ~/go/src/aruneshpa/vm-operator ‹topic/parunesh/VMSVC-1677/make-manager-the-default-container› ╰─$ k logs -n vmware-system-vmop vmware-system-vmop-controller-manager-6f8d6f8c78-wh5z8 | head Defaulted container "manager" out of: manager, kube-rbac-proxy I0206 20:42:47.145487 1 main.go:53] entrypoint "msg"="Starting VM Operator controller" "buildnumber"="00000000" "buildtype"="dev" "commit"="42c578ddf9bd43d579475ddf23948f6a3fa7fc53" "version"="1.8.0-479-g42c578dd"
- Loading branch information