Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

improve a few helm chart features #87

Merged
merged 1 commit into from
Dec 15, 2023
Merged

improve a few helm chart features #87

merged 1 commit into from
Dec 15, 2023

Conversation

djeebus
Copy link
Collaborator

@djeebus djeebus commented Dec 14, 2023

  • define simple configmap key/value env vars directly
  • support opting out of creating a secret
  • support setting complex env and envFrom directly
  • add strict jsonschema validation
  • remove some unnecessary hardcoded env vars

NOTE: one backwards incompatible change was made. To upgrade, move this:

deployment:
  env:
    ENV_KEY: env--value

to this:

configmap:
  create: false
  env:
    ENV_KEY: env--value

- define simple configmap key/value env vars directly
- support opting out of creating a secret
- support setting complex env and envFrom directly
- add strict jsonschema validation
- remove some unnecessary hardcoded env vars
Copy link

github-actions bot commented Dec 14, 2023

Temporary image deleted.

@@ -111,8 +111,8 @@ func (c *Client) CreateRepo(_ context.Context, payload interface{}) (*repo.Repo,
switch p := payload.(type) {
case *github.PullRequestEvent:
switch p.GetAction() {
case "opened", "synchronize", "reopened":
log.Info().Str("action", p.GetAction()).Msg("handling Github open, sync event from PR")
case "opened", "synchronize", "reopened", "edited":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helm chart eh? ;)

Copy link
Collaborator

@polyrain polyrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, more power to the user to define their env and config is always a plus. Love the schema too, much appreciated @djeebus !

@djeebus djeebus merged commit daec6e0 into main Dec 15, 2023
6 checks passed
@djeebus djeebus deleted the helm-chart-updates branch December 15, 2023 15:15
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.

2 participants