Skip to content

Commit

Permalink
add testkube default secrets + user input ones (#22)
Browse files Browse the repository at this point in the history
* add testkube default secrets + user input ones

* add missing end of file line break

* Update external-secret.yaml

---------

Co-authored-by: John Dietz <[email protected]>
  • Loading branch information
fharper and johndietz authored Sep 14, 2023
1 parent ec47259 commit e2b53ef
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
10 changes: 8 additions & 2 deletions testkube/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ spec:
targetRevision: 1.11.214
helm:
releaseName: testkube
# values: |
# example: value
values: |
testkube-api.minio.enabled: false
mongodb.enabled: false
testkube-dashboard.enabled: false
testkube-api.cloud.url: "agent.testkube.io:443"
testkube-api.cloud.key: testkube-api.cloud.key
testkube-api.cloud.orgId: testkube-api.cloud.orgId
testkube-api.cloud.envId: testkube-api.cloud.envId
syncPolicy:
automated:
prune: true
Expand Down
17 changes: 17 additions & 0 deletions testkube/external-secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: testkube-secret
namespace: testkube
spec:
target:
name: testkube
secretStoreRef:
kind: ClusterSecretStore
name: vault-kv-secret
refreshInterval: 10s
dataFrom:
- extract:
key: /testkube
---

0 comments on commit e2b53ef

Please sign in to comment.