Skip to content

feat: Add dataType option to define Generated Secret Data as File or Envvar#16

Open
jatiman wants to merge 7 commits intometro-digital:masterfrom
jatiman:master
Open

feat: Add dataType option to define Generated Secret Data as File or Envvar#16
jatiman wants to merge 7 commits intometro-digital:masterfrom
jatiman:master

Conversation

@jatiman
Copy link

@jatiman jatiman commented Jun 12, 2023

This PR will add a dataType flag, where this flag allows you to create a Kubernetes secret with data in the form of an environment variable, so you can directly use the secret as an environment variable in your deployment.
To be able to use this flag, make sure the data in the google secret manager has the format

ENV_1=VALUE1
ENV_2=VALUE2
...
ENV_N=VALUEN

Beside that, I also update the GA pipeline from waas/v2alpha1 to waas/v2, because the waas/v2alpha is deprecated,

jatiman and others added 7 commits June 12, 2023 17:07
* add envvar datatype generator

* add envvar datatype flag and its unittest

* upgrade waas github action to v2

* set encryptedSecret.Keys on base test

* remove unused conversion
* disable cgo and add arm64 release on pipeline
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210503060351-7fd8e65b6420 to 0.7.0.
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update golang to 1.21

* update github workflow
* ci: update github workflow

* ci: update actions/setup-go@v4 and params

* chore: remove io/ioutil since it was deprecated

* ci: change ginkgo path

* chore: update ginkgo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant