-
Notifications
You must be signed in to change notification settings - Fork 17
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
Charts: add registry templating to support Elemental airgap scenarios #497
Changes from all commits
bd9bfe7
55ed01b
e15e5da
158d42b
080c86c
2f2d0fd
fecae2a
ea19355
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ concurrency: | |
jobs: | ||
push-docker: | ||
env: | ||
REPO: ttl.sh/elemental-operator-ci | ||
REGISTRY_URL: ttl.sh | ||
REPO: elemental-operator-ci | ||
runs-on: ubuntu-latest | ||
outputs: | ||
chart_name: ${{ steps.chart.outputs.chart_name }} | ||
|
@@ -31,7 +32,7 @@ jobs: | |
uses: docker/[email protected] | ||
with: | ||
images: | | ||
${{ env.REPO }} | ||
${{ env.REGISTRY_URL}}/${{ env.REPO }} | ||
tags: | | ||
type=sha,format=short,prefix=${{ steps.export_tag.outputs.operator_tag }}- | ||
- name: Set up Docker Buildx | ||
|
@@ -52,7 +53,7 @@ jobs: | |
COMMITDATE=${{ steps.export_tag.outputs.commit_date }} | ||
COMMIT=${{ github.sha }} | ||
- name: Make chart | ||
run: REPO=${{ env.REPO }} make chart | ||
run: REPO=${{ env.REPO }} REGISTRY_URL=${{ env.REGISTRY_URL }} make chart | ||
- name: Set chart output | ||
id: chart | ||
run: | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,15 @@ icon: https://raw.githubusercontent.com/rancher/elemental/main/logo/icon-element | |
version: 0.0.0 | ||
appVersion: 0.0.0 | ||
annotations: | ||
catalog.cattle.io/auto-install: elemental-crd=match | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/display-name: Elemental | ||
catalog.cattle.io/experimental: "true" | ||
catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.28.0-0' | ||
catalog.cattle.io/namespace: cattle-elemental-system | ||
catalog.cattle.io/os: linux | ||
catalog.cattle.io/permits-os: linux | ||
catalog.cattle.io/provides-gvr: elemental.cattle.io/v1beta1 | ||
catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here, this also seem rather strict There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, this is different IMO: we don't support Rancher 2.6.x. |
||
catalog.cattle.io/release-name: elemental-operator | ||
catalog.cattle.io/scope: management | ||
catalog.cattle.io/type: cluster-tool |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Elemental Operator Helm Chart | ||
|
||
This chart bootstraps an elemental-operator deployment on a [Rancher Manager](https://rancher.com/docs/rancher/) cluster using the [Helm](https://helm.sh) package manager. | ||
|
||
Check out the [Elemental Operator Helm Chart documentation](https://elemental.docs.rancher.com/elementaloperatorchart-reference/) in the official [Elemental guide](https://elemental.docs.rancher.com/). |
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.
how/where did you define this range?
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 is a mandatory annotation for the Rancher Marketplace: since these annotations are for Rancher only, seems to me that makes sense to add all the required ones.
Kubernetes 1.23 is the minimal version supported by Rancher 2.7.x and we require Rancher 2.7.x.
Kubernetes 1.28 is just an high Kube version: the value is arbitrary high and the common one used in the Rancher 2.7 marketplace.
I don't think this restriction will be put in place ever, in any case I wish that for Kube 1.28 users will install a newer chart version 😄