Skip to content

Commit

Permalink
cleanup cloudflareca and 1password helm
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhardison committed Sep 11, 2024
1 parent 8994d88 commit 1fd50b6
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 509 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,4 @@ MigrationBackup/
#secret manifest ignores post op rendering
bootstrap/00_1password/op-session
bootstrap/00_1password/op-token
**/charts
14 changes: 7 additions & 7 deletions bootstrap/00_1password/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
Installing the 1Password controller requires the secrets to be created first.
These can be layered together with kustomize, however that will prevent argo from being able to deploy them.


## Secrets (bootstrapped items)

The two secrets are injected outside of the deploy processes, after the deployment is done or namespace is created, inject and create the following secrets.
The two secrets are injected outside of the deploy processes, after the deployment is done or namespace is created, inject and create the following secrets. In addition to the secrets, the namespace will be created.

```
kubectl create namespace 1password
op inject -i op-session.tpl -o op-session
kubectl -n 1password create secret generic op-credentials --from-file=1password-credentials.json=op-session
Expand All @@ -16,13 +19,10 @@ kubectl -n 1password create secret generic onepassword-token --from-literal=toke



## HELM based install of 1password -> extract to kube bases
## Apply Kustomize

The following is used to update the base manifests if needed.
The following is used to apply the bootstrapping for 1password connect.

```
helm repo add 1password https://1password.github.io/connect-helm-charts
helm fetch --untar --untardir charts 1password/connect
helm template --output-dir base --namespace 1password --values customvalues.yaml connect charts/connect
rm -rf charts
kubectl kustomize --enable-helm | kubectl apply -f -
```
89 changes: 0 additions & 89 deletions bootstrap/00_1password/base/connect/templates/clusterrole.yaml

This file was deleted.

This file was deleted.

115 changes: 0 additions & 115 deletions bootstrap/00_1password/base/connect/templates/connect-deployment.yaml

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions bootstrap/00_1password/base/connect/templates/service.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions bootstrap/00_1password/base/connect/templates/serviceaccount.yaml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1fd50b6

Please sign in to comment.