feat: deploy 1password

This commit is contained in:
2024-11-05 10:47:53 -05:00
parent 085910d48b
commit 70e8d11521
2 changed files with 34 additions and 17 deletions

View File

@@ -48,3 +48,11 @@ Yay! you now have an interface, and an IP address to broadcast on :D
IP: 10.0.0.55 IP: 10.0.0.55
3. premhome-eagle-1 3. premhome-eagle-1
IP: 10.0.0.248 IP: 10.0.0.248
## Deploying secrets
```sh
kubectl create secret generic 1password-credentials --from-file=1password-credentials.json --namespace 1password-system
kubectl create secret generic 1password-token --namespace 1password-system --from-literal token=<token>
```

View File

@@ -12,21 +12,30 @@ metadata:
spec: spec:
interval: 5m0s interval: 5m0s
url: https://1password.github.io/connect-helm-charts/ url: https://1password.github.io/connect-helm-charts/
# --- ---
# apiVersion: helm.toolkit.fluxcd.io/v2 apiVersion: helm.toolkit.fluxcd.io/v2
# kind: HelmRelease kind: HelmRelease
# metadata: metadata:
# name: 1password name: 1password
# namespace: 1password-system namespace: 1password-system
# spec: spec:
# connect: chart:
# serviceType: LoadBalancer spec:
# credentials: chart: connect
# secretName: 1password-credentials reconcileStrategy: ChartVersion
# secretKey: 1password-credentials.json sourceRef:
# operator: kind: HelmRepository
# create: true name: 1password-repo
# token: version: 1.16.x
# name: 1password-token interval: 1m0s
# key: token values:
connect:
serviceType: LoadBalancer
credentialsName: 1password-credentials
credentialsKey: 1password-credentials.json
operator:
create: true
token:
name: 1password-token
key: token