-
Notifications
You must be signed in to change notification settings - Fork 19
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
Build-time variables to set url and version of chart #119
Conversation
* enable keycloak install with binary * enable cert setup * configure pull secret * update pull secret logic, add rekor/fulcio secret * add helm installation * handle backup segment job
Signed-off-by: Sally O'Malley <[email protected]> rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
rh-pre-commit.version: 2.0.3 rh-pre-commit.check-secrets: ENABLED
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good :), having the makefile and building for multiple os's is a handy thing to have.
@@ -0,0 +1,37 @@ | |||
|
|||
CHART_VERSION ?= "" | |||
CHART_URL ?= "./charts/trusted-artifact-signer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be the full git URL instead? I would like for end users to not need to git clone
the repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we have to package chart to tgz if we want to install it via http. From helm doc:
There are six different ways you can express the chart you want to install:
- By chart reference: helm install mymaria example/mariadb
- By path to a packaged chart: helm install mynginx ./nginx-1.2.3.tgz
- By path to an unpacked chart directory: helm install mynginx ./nginx
- By absolute URL: helm install mynginx https://example.com/charts/nginx-1.2.3.tgz
- By chart reference and repo url: helm install --repo https://example.com/charts/ mynginx nginx
- By OCI registries: helm install mynginx --version 1.2.3 oci://example.com/charts/nginx
4b90414
to
a23da21
Compare
@osmman please rebase - @JasonPowr or I will review/merge Monday! |
Depends on #118
Changes:
Usage:
Dev
Build installer which use by default Helm Chart from ./charts/trusted-artifact-signer path.
make build
Prod
Compile with reseted default values to use released oci helm chart
CHART_VERSION=0.1.24 CHART_URL='oci://quay.io/redhat-user-workloads/arewm-tenant/sigstore-ocp/trusted-artifact-signer' make build