mirror of
https://github.com/holos-run/holos.git
synced 2026-03-22 02:05:00 +00:00
PROBLEM: The "Cue" tutorial has hardcoded code blocks and hasn't been updated to use the automated testscript workflow. NOTE: This is slightly more complex than normal because we need to make sure Timoni is installed when we execute the testscripts due to the fact that we need to execute `timoni mod vendor crds ...` and capture the output. SOLUTION: * Add Timoni as one of the packages that are installed via `make go-deps`. * Update the testing GH Action to install all go dependencies before executing the tests. * Create a test for the Cue tutorial. * Create a testscript for the Cue test. * Update the Cue MDX file to load in data from the testscript directory. OUTCOME: The code content in the Cue tutorial now comes directly from the testscript workflow.
25 lines
601 B
Diff
25 lines
601 B
Diff
diff --git a/deploy/components/podinfo/podinfo.gen.yaml b/deploy/components/podinfo/podinfo.gen.yaml
|
|
index 6e4aec0..f79e9d0 100644
|
|
--- a/deploy/components/podinfo/podinfo.gen.yaml
|
|
+++ b/deploy/components/podinfo/podinfo.gen.yaml
|
|
@@ -112,3 +112,19 @@ spec:
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: data
|
|
+---
|
|
+apiVersion: external-secrets.io/v1beta1
|
|
+kind: ExternalSecret
|
|
+metadata:
|
|
+ name: podinfo
|
|
+ namespace: default
|
|
+spec:
|
|
+ dataFrom:
|
|
+ - extract:
|
|
+ key: podinfo
|
|
+ refreshInterval: 30s
|
|
+ secretStoreRef:
|
|
+ kind: SecretStore
|
|
+ name: default
|
|
+ target:
|
|
+ name: podinfo
|