tanzu-auth-controller-manager
This directory is home to the tanzu-auth-controller-manager
.
To run this on a cluster:
./hack/run.sh
To run the tests:
./hack/test.sh
To run static checks (e.g., go fmt
, go vet
, golangci-lint
) and the tests:
./hack/check.sh
To generate the default pinniped addon secret:
make generate-package-secret tkr=v1.23.3---vmware.1-tkg.1 iaas=vsphere
ytt -f ./hack/ytt -v tkr=v1.23.3---vmware.1-tkg.1 -v infrastructure_provider=vsphere
./hack/generate-package-secret.sh -v tkr=v1.23.3---vmware.1-tkg.1 -v infrastructure_provider=vsphere
To change the log level, add the --v=LOG_LEVEL
arg to the controller deployment. LOG_LEVEL should
be a number. Default log level is 0. Example:
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: tanzu-auth-controller-manager
namespace: tanzu-auth
spec:
selector:
matchLabels:
app: tanzu-auth-controller-manager
template:
metadata:
labels:
app: tanzu-auth-controller-manager
spec:
serviceAccountName: tanzu-auth-controller-manager-sa
containers:
- args:
- --v=1
image:
name: tanzu-auth-controller-manager