Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Helm chart for acces-plugin-email #459

Merged
merged 20 commits into from
Mar 31, 2022
Merged

Conversation

kbence
Copy link
Contributor

@kbence kbence commented Mar 18, 2022

This change adds a Helm chart for access-plugin-email and it'll serve as a base for the rest of the plugins.

Part of #439

TODO:

  • Clean unused/unnecessary values from values.yaml added by the default template
  • Make it possible to use secrets and configmaps where it's applicable (but also keep string input where it makes sense)
  • Write tests using helm unittest
  • Create values.schema.json to help validating values.

Testing done

I've tested the chart in a local minikube environment, I'll also test it under EKS once the images are available on ECR.

I've also added some unit tests using the third party plugin vbehar/helm3-unittest (we are already using it in gravitational/teleport).

Deployment

Deployment of the helm chart is going to be in a separate pull request.

@kbence kbence changed the title Helm chart for access-plugin-email [WIP] Helm chart for access-plugin-email Mar 18, 2022
@kbence kbence force-pushed the bence/helm-chart-access-plugin branch from d29e544 to be7a67f Compare March 22, 2022 17:13
@kbence kbence changed the title [WIP] Helm chart for access-plugin-email Helm chart for access-plugin-email Mar 23, 2022
@kbence kbence changed the title Helm chart for access-plugin-email Helm chart for acces-plugin-email Mar 23, 2022
@kbence kbence force-pushed the bence/helm-chart-access-plugin branch from 45162c4 to 8911303 Compare March 24, 2022 10:42
@kbence kbence marked this pull request as ready for review March 24, 2022 17:22
@wadells wadells requested review from wadells and logand22 March 25, 2022 21:07
Copy link
Contributor

@logand22 logand22 left a comment

Choose a reason for hiding this comment

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

Looking good so far.

.cloudbuild/ci/helm-unittest.yaml Outdated Show resolved Hide resolved
.drone.yml Outdated Show resolved Hide resolved
charts/access/email/templates/configmap.yaml Show resolved Hide resolved
charts/access/email/templates/configmap.yaml Show resolved Hide resolved
charts/access/email/values.yaml Show resolved Hide resolved
@kbence kbence force-pushed the bence/helm-chart-access-plugin branch from 7301a30 to bd0b16d Compare March 29, 2022 09:58
Copy link
Contributor

@wadells wadells left a comment

Choose a reason for hiding this comment

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

LGTM!

.drone.yml Outdated Show resolved Hide resolved
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd like for this to hit 1.0.0 before we release to customers. It doesn't (and probably shouldn't) be there yet in this PR though.

charts/access/email/templates/configmap.yaml Show resolved Hide resolved
@kbence kbence force-pushed the bence/helm-chart-access-plugin branch from 64ecd39 to 2f97af2 Compare March 30, 2022 15:35
Copy link
Contributor

@Joerger Joerger left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@tcsc tcsc left a comment

Choose a reason for hiding this comment

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

LGTM, pending

  • Pinning the helm-unittest version as per @logand22 , and
  • Either upgrading the email chard version or pulling it out as per @wadells

kbence added 3 commits March 31, 2022 10:40
Additionally, commented out chart version to indicate it's not ready yet
Build fails without a valid version in Chart.yaml, so I updated it
to 1.0.0 (the chart won't change anyways, only a build will be added)
We might want to consider more detailed tests in the future
to avoid this
@kbence kbence merged commit 1cb4f6c into master Mar 31, 2022
@kbence kbence deleted the bence/helm-chart-access-plugin branch March 31, 2022 10:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants