mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-10 07:58:07 +00:00
As of upgrading to Kubernetes 1.20, our aggregated API server nows runs some controllers for the two flowcontrol.apiserver.k8s.io resources in the title of this commit, so it needs RBAC to read them. This should get rid of the following error messages in our Concierge logs: Failed to watch *v1beta1.FlowSchema: failed to list *v1beta1.FlowSchema: flowschemas.flowcontrol.apiserver.k8s.io is forbidden: User "system:serviceaccount:concierge:concierge" cannot list resource "flowschemas" in API group "flowcontrol.apiserver.k8s.io" at the cluster scope Failed to watch *v1beta1.PriorityLevelConfiguration: failed to list *v1beta1.PriorityLevelConfiguration: prioritylevelconfigurations.flowcontrol.apiserver.k8s.io is forbidden: User "system:serviceaccount:concierge:concierge" cannot list resource "prioritylevelconfigurations" in API group "flowcontrol.apiserver.k8s.io" at the cluster scope Signed-off-by: Andrew Keesler <akeesler@vmware.com>
Deploying
Connecting Pinniped to an Identity Provider
If you would like to try Pinniped, but you don't have a compatible identity provider, you can use Pinniped's test identity provider. See deploy/local-user-authenticator/README.md for details.
Installing the Latest Version with Default Options
kubectl apply -f https://get.pinniped.dev/latest/install-pinniped-concierge.yaml
Installing a Specific Version with Default Options
Choose your preferred release version number and use it to replace the version number in the URL below.
# Replace v0.4.1 with your preferred version in the URL below
kubectl apply -f https://get.pinniped.dev/v0.4.1/install-pinniped-concierge.yaml
Installing with Custom Options
Creating your own deployment YAML file requires ytt from Carvel to template the YAML files
in the deploy/concierge directory.
Either install ytt or use the container image from Dockerhub.
git clonethis repo andgit checkoutthe release version tag of the release that you would like to deploy.- The configuration options are in deploy/concierge/values.yml.
Fill in the values in that file, or override those values using additional
yttcommand-line options in the command below. Use the release version tag as theimage_tagvalue. - In a terminal, cd to this
deploy/conciergedirectory - To generate the final YAML files, run
ytt --file . - Deploy the generated YAML using your preferred deployment tool, such as
kubectlorkapp. For example:ytt --file . | kapp deploy --yes --app pinniped --diff-changes --file -