We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cc2fd commit 242bf85Copy full SHA for 242bf85
.transpire.py
@@ -32,6 +32,13 @@ def objects():
32
)
33
sec = Secret(
34
name="keycloak-secret",
35
+ string_data={
36
+ 'keycloak.env': '',
37
+ }
38
+ )
39
+
40
+ sec_env = Secret(
41
+ name="keycloak-env",
42
string_data={
43
'CLIENT_SECRET': '',
44
'ENCRYPTION_KEY': '',
@@ -58,10 +65,11 @@ def objects():
58
65
dep.obj.spec.template.spec.dns_policy = "ClusterFirst"
59
66
dep.obj.spec.template.spec.dns_config = {"searches": ["ocf.berkeley.edu"]}
60
67
61
- dep.pod_spec().with_secret_env("keycloak-secret")
68
+ dep.pod_spec().with_secret_env("keycloak-env")
62
69
63
70
# build all objects and yield.
64
71
yield svc.build()
72
yield dep.build()
73
yield ing.build()
74
yield sec.build()
75
+ yield sec_env.build()
0 commit comments