ContainerImage.Pinniped/deploy
Ryan Richard 2565f67824 Create a deployment for test-webhook
- For now, build the test-webhook binary in the same container image as
  the pinniped-server binary, to make it easier to distribute
- Also fix lots of bugs from the first draft of the test-webhook's
  `/authenticate` implementation from the previous commit
- Add a detailed README for the new deploy-test-webhook directory
2020-09-09 19:06:39 -07:00
..
crd.yaml Generate CRD YAML using controller-tools, update doc strings. 2020-08-31 16:38:48 -05:00
deployment.yaml Add a ytt template value for replica count. 2020-09-08 11:36:32 -05:00
rbac.yaml Upon pod startup, update the Status of CredentialIssuerConfig 2020-08-24 18:07:34 -07:00
README.md Create a deployment for test-webhook 2020-09-09 19:06:39 -07:00
values.yaml Add a ytt template value for replica count. 2020-09-08 11:36:32 -05:00

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 ../deplot-test-webhook/README.md for details.

Tools

This example deployment uses ytt from Carvel to template the YAML files. Either install ytt or use the container image from Dockerhub.

Procedure

  1. The configuration options are in values.yml. Fill in the values in that file, or override those values using ytt command-line options in the command below.
  2. In a terminal, cd to this deploy directory
  3. To generate the final YAML files, run: ytt --file .
  4. Deploy the generated YAML using your preferred deployment tool, such as kubectl or kapp. For example: ytt --file . | kapp deploy --yes --app pinniped --diff-changes --file -