Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant