| 1234567891011121314151617181920212223 |
- ---
- apiVersion: external-secrets.io/v1alpha1
- kind: PushSecret
- metadata:
- name: pushsecret-all-keys-example # customizable
- spec:
- deletionPolicy: Delete
- refreshInterval: 1h0m0s
- secretStoreRefs:
- - name: onepassword
- kind: SecretStore
- selector:
- secret:
- name: source-secret # Source Kubernetes secret
- data:
- - match:
- remoteRef:
- remoteKey: 1pw-item-name-all-keys # 1Password item name, each Kubernetes secret key becomes a separate concealed field
- metadata:
- apiVersion: kubernetes.external-secrets.io/v1alpha1
- kind: PushSecretMetadata
- spec:
- tags: ["tag1", "tag2"] # (Optional) tags on the 1Password item
|