mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 21:27:10 +00:00
Merge pull request #1682 from Infisical/k8s-owner-policy
add docs for owner policy
This commit is contained in:
@@ -92,6 +92,7 @@ spec:
|
|||||||
managedSecretReference:
|
managedSecretReference:
|
||||||
secretName: managed-secret
|
secretName: managed-secret
|
||||||
secretNamespace: default
|
secretNamespace: default
|
||||||
|
creationPolicy: "Orphan" ## Owner | Orphan (default)
|
||||||
# secretType: kubernetes.io/dockerconfigjson
|
# secretType: kubernetes.io/dockerconfigjson
|
||||||
```
|
```
|
||||||
### InfisicalSecret CRD properties
|
### InfisicalSecret CRD properties
|
||||||
@@ -232,6 +233,19 @@ The namespace of the managed Kubernetes secret to be created.
|
|||||||
</Accordion>
|
</Accordion>
|
||||||
<Accordion title="managedSecretReference.secretType">
|
<Accordion title="managedSecretReference.secretType">
|
||||||
Override the default Opaque type for managed secrets with this field. Useful for creating kubernetes.io/dockerconfigjson secrets.
|
Override the default Opaque type for managed secrets with this field. Useful for creating kubernetes.io/dockerconfigjson secrets.
|
||||||
|
</Accordion>
|
||||||
|
<Accordion title="managedSecretReference.creationPolicy">
|
||||||
|
Creation polices allow you to control whether or not to owner references should be added to the managed Kubernetes secret that is generated by the Infisical operator.
|
||||||
|
This is useful for tools such as ArgoCD, where every resource requires an owner reference; otherwise, it will be pruned automatically.
|
||||||
|
|
||||||
|
#### Available options
|
||||||
|
- `Orphan` (default)
|
||||||
|
- `Owner`
|
||||||
|
|
||||||
|
<Tip>
|
||||||
|
When creation policy is set to `Owner`, the `InfisicalSecret` CRD must be in the same namespace as where the managed kubernetes secret.
|
||||||
|
</Tip>
|
||||||
|
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
|
||||||
### Propagating labels & annotations
|
### Propagating labels & annotations
|
||||||
|
|||||||
Reference in New Issue
Block a user