Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .holo/branches/helm-chart/_codeforphilly.toml

This file was deleted.

24 changes: 24 additions & 0 deletions docs/development/add-secret.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Add a secret

## Prerequisites

Install the `kubeseal` client command on your local workstation from the latest stable release: <https://github.com/bitnami-labs/sealed-secrets/releases>

## Configure public certificate

Place the public URL for the target cluster's sealed secret's certificate into the `SEALED_SECRETS_CERT` environment variable:

```bash
export SEALED_SECRETS_CERT=https://sealed-secrets.live.k8s.phl.io/v1/cert.pem
```

## Encrypt secrets to cluster repository

Create a Kubernetes `Secret` manifest containing one or more key+value pair, and then use the `kubeseal` client to encrypt it into a `SealedSecret` manifest. The target namespace must be provided and will become part of the encryption such that the secret can only be loaded into that namespace. Commit the sealed secret to the cluster's repository under the path `code-for-philly/helm-chart/templates/secrets/` where it will become part of the deployed helm chart:

```bash
kubeseal \
--namespace code-for-philly \
-f mysecret.yaml \
-w ~/Repositories/cfp-live-cluster/code-for-philly/helm-chart/templates/secrets/mysecret.yaml
```
22 changes: 0 additions & 22 deletions helm-chart/templates/secrets/discourse.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions helm-chart/templates/secrets/github.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions helm-chart/templates/secrets/mailchimp.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions helm-chart/templates/secrets/recaptcha.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions helm-chart/templates/secrets/saml2.yaml

This file was deleted.

Loading