onepassworditem
by vqui
Helm chartv1.0.2Verified publisher
A 1Password secret helm chart for Kubernetes
About this chart
This helm chart allows to set deployment independent secrets from 1Password. The main feature is, you can use it via helmfile.
Example values
---
secrets:
default: # < this is the kubernetes namespace
- item: "vaults/<vault_id_or_title>/items/<item_id_or_title>"
name: "secret1" # < name of the created kubernetes secret
type: Opaque # < type of the created kubernetes secret
- item: "vaults/<vault_id_or_title>/items/<item_id_or_title>"
name: "secret2"
type: kubernetes.io/dockerconfigjson
example-namespace: # < this is another kubernetes namespace
- item: "vaults/<vault_id_or_title>/items/<item_id_or_title>"
name: "secret3"
# type: Opaque # < type defaults to Opaque
- item: "vaults/<vault_id_or_title>/items/item_id_or_title>"
name: "secret4"
usage
# install repo
helm repo add vquie https://vquie.github.io/helm-charts
helm repo update
# install chart
helm upgrade --install --namespace your-namespace 1password-secrets-release vquie/onepassworditem -f values.yaml
Deploy onepassworditem with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has onepassworditem on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartonepassworditem is pinned at v1.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply