File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
docs/modules/secret-operator/pages Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -362,16 +362,12 @@ Please note that the contents in the volume will not update when the Secret cont
362362
363363[source,yaml]
364364----
365- apiVersion: apps/v1
365+ ---
366+ apiVersion: v1
366367kind: Pod
367368metadata:
368369 name: my-app
369- labels:
370- app.kubernetes.io/name: my-app
371370spec:
372- selector:
373- matchLabels:
374- app.kubernetes.io/name: my-app
375371 containers:
376372 #... skipped for brevity
377373 volumeMounts:
@@ -409,14 +405,15 @@ metadata:
409405 name: my-admin-credentials
410406 labels:
411407 secrets.stackable.tech/class: admin-credentials-class
408+ secrets.stackable.tech/pod: my-app
412409stringData:
413410 user: admin
414411 password: secret
415412----
416413
417414
418415xref:scope.adoc[Scopes] are translated into additional label filters of the form `secrets.stackable.tech/$SCOPE: $SCOPE_VALUE`.
419- For example, a ` Pod` named `foo` mounting a `k8sSearch` secret with the xref:scope.adoc#pod[`pod`] scope would add the label filter
416+ For example, a Pod named `foo` mounting a `k8sSearch` Secret with the xref:scope.adoc#pod[`pod`] scope would add the label filter
420417`secrets.stackable.tech/pod: foo`.
421418
422419==== Reference
You can’t perform that action at this time.
0 commit comments