apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: vaultwarden

labels:
- includeSelectors: true
  pairs:
    app.kubernetes.io/instance: icb4dc0de
    app.kubernetes.io/managed-by: kustomize

images:
  - name: vaultwarden
    newName: ghcr.io/dani-garcia/vaultwarden
    newTag: "1.30.5-alpine"

resources:
  - "resources/namespace.yaml"
  - "resources/pvc.yaml"
  - "resources/deployment.yaml"
  - "resources/service.yaml"
  - "resources/http_routes.yaml"

secretGenerator:
  - name: vaultwarden-api-config
    envs:
      - "config/vaultwarden.env"