Skip to content

Commit

Permalink
fix(skaffold): create secrets before deploying releases (#570)
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
  • Loading branch information
guilhem-barthes authored Jan 27, 2023
1 parent 6de9793 commit 4b2e926
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Contributing, contributors & code of conduct files (#563)

### Fixed
- Skaffold default example configuration ([#570](https://github.com/Substra/substra-backend/pull/570))

### Removed

- Test only field for data samples (#551)
Expand Down
9 changes: 9 additions & 0 deletions examples/secrets/skaffold.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: skaffold/v2beta11
kind: Config
metadata:
name: setup-secrets
deploy:
kubectl:
manifests:
- ./secret-orchestrator-tls-org-1-client-pair.yaml
- ./secret-orchestrator-tls-org-2-client-pair.yaml
6 changes: 4 additions & 2 deletions skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
apiVersion: skaffold/v2beta24
kind: Config

requires:
- path: examples/secrets/skaffold.yaml

build:
artifacts:
- image: substra/substra-backend
Expand Down Expand Up @@ -54,8 +58,6 @@ deploy:
manifests:
- examples/values/serviceAccounts/serviceAccount-org-1.yaml
- examples/values/serviceAccounts/serviceAccount-org-2.yaml
- examples/secrets/secret-orchestrator-tls-org-1-client-pair.yaml
- examples/secrets/secret-orchestrator-tls-org-2-client-pair.yaml

profiles:
- name: prod
Expand Down

0 comments on commit 4b2e926

Please sign in to comment.