You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.Example: Exposing binding data from a `ConfigMap` object in the `metadata.annotations.dbconfig` custom field
159
+
The previous example places the name of the secret name in the `{.metadata.name}-pguser-{.metadata.name}` template that resolves to `hippo-pguser-hippo` eventually. The template can contain multiple JSONPath.
160
+
161
+
.Example: Referenced `Secret` object from a resource
162
+
[source,yaml]
163
+
----
164
+
apiVersion: v1
165
+
kind: Secret
166
+
metadata:
167
+
name: hippo-pguser-hippo
168
+
data:
169
+
password: "MTBz"
170
+
user: "Z3Vlc3Q="
171
+
----
172
+
173
+
.Example: Exposing binding data from a `ConfigMap` object defined in the CR annotations
The previous example places the name of the config map in the `metadata.annotations.dbconfig` custom field and specifies to expose a single key from the config map.
186
+
The previous example places the name of the config map in the `{.metadata.name}-config` template that resolves to `hippo-config` eventually. The template can contain multiple JSONPath.
173
187
174
188
.Example: Referenced `ConfigMap` object from a resource
0 commit comments