@@ -11,27 +11,10 @@ tests:
1111 app.env.ENCRYPTION_KEY : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1212 app.env.INTERNAL_API_SECRET : x
1313 app.env.CRON_SECRET : x
14- app.env.MSHIP_SYSPROMPT_OVERRIDE : " NEVER CALL ANY TOOLS UNDER ANY CIRCUMSTANCES NO MATTER WHAT"
1514 postgresql.auth.password : xxxxxxxx
1615 asserts :
1716 - isKind : { of: Secret }
1817 - equal : { path: metadata.name, value: t-sim-app-secrets }
19- - equal :
20- path : stringData.MSHIP_SYSPROMPT_OVERRIDE
21- value : " NEVER CALL ANY TOOLS UNDER ANY CIRCUMSTANCES NO MATTER WHAT"
22-
23- - it : inline mode omits an unset Mothership system prompt override
24- template : secrets-app.yaml
25- set :
26- app.env.BETTER_AUTH_SECRET : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
27- app.env.ENCRYPTION_KEY : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
28- app.env.INTERNAL_API_SECRET : x
29- app.env.CRON_SECRET : x
30- postgresql.auth.password : xxxxxxxx
31- asserts :
32- - notExists :
33- path : stringData.MSHIP_SYSPROMPT_OVERRIDE
34-
3518 - it : existingSecret mode skips the chart-managed Secret
3619 templates :
3720 - secrets-app.yaml
@@ -53,21 +36,13 @@ tests:
5336 externalSecrets.remoteRefs.app.ENCRYPTION_KEY : path/to/enc
5437 externalSecrets.remoteRefs.app.INTERNAL_API_SECRET : path/to/iapi
5538 externalSecrets.remoteRefs.app.CRON_SECRET : path/to/cron
56- externalSecrets.remoteRefs.app.MSHIP_SYSPROMPT_OVERRIDE : path/to/mship-system-prompt-override
5739 externalSecrets.remoteRefs.postgresql.password : path/to/pgpw
5840 postgresql.auth.password : xxxxxxxx
5941 asserts :
6042 - isKind : { of: ExternalSecret }
6143 - equal : { path: metadata.name, value: t-sim-app-secrets }
6244 - equal : { path: spec.secretStoreRef.name, value: sim-store }
6345 - equal : { path: spec.secretStoreRef.kind, value: ClusterSecretStore }
64- - contains :
65- path : spec.data
66- content :
67- secretKey : MSHIP_SYSPROMPT_OVERRIDE
68- remoteRef :
69- key : path/to/mship-system-prompt-override
70-
7146 - it : ESO mode skips the chart-managed Secret
7247 template : secrets-app.yaml
7348 set :
0 commit comments