ContainerImage.Pinniped/deploy
Ryan Richard db98f2810f
Merge pull request #98 from suzerain-io/get_kubeconfig_cli
Organize Pinniped CLI into subcommands; Add get-kubeconfig subcommand
2020-09-15 13:34:14 -07:00
..
crd.pinniped.dev_credentialissuerconfigs.yaml Define the WebhookIdentityProvider CRD. 2020-09-15 11:44:23 -05:00
deployment.yaml Move the ytt webhook config out into the CRD. 2020-09-15 12:02:33 -05:00
idp.pinniped.dev_webhookidentityproviders.yaml Define the WebhookIdentityProvider CRD. 2020-09-15 11:44:23 -05:00
rbac.yaml Give our controller access to all our CRD types. 2020-09-15 12:02:33 -05:00
README.md Add demo instructions 2020-09-15 12:10:20 -07:00
values.yaml Add a ytt template value for replica count. 2020-09-08 11:36:32 -05:00
webhook.yaml Move the ytt webhook config out into the CRD. 2020-09-15 12:02:33 -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 deploy-local-user-authenticator/README.md for details.

Tools

This example deployment uses ytt and kapp from Carvel to template the YAML files and to deploy the app. Either install ytt and kapp 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 -