-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add development channel for OBS builds This commit adds a development channel reference to builds done in OBS (under or branched from isv:Rancher:Elemental) Signed-off-by: David Cassany <[email protected]> (cherry picked from commit 6ee9211) * Check crds chart is aligned with the main operator chart version Signed-off-by: David Cassany <[email protected]> (cherry picked from commit 0f59b14) * Update channels (#781) * Update channels * Adding a downgrade/upgrade charts e2e test * Only fetch logs for running containers * Do not fail fast in e2e matrix Signed-off-by: David Cassany <[email protected]> (cherry picked from commit d7a712d) * [Airgap] fix unstable channel extraction Signed-off-by: Loic Devulder <[email protected]> (cherry picked from commit b866419) * Add Micro 6.0 baremetal as the default channel Signed-off-by: David Cassany <[email protected]> --------- Signed-off-by: David Cassany <[email protected]> Co-authored-by: Loic Devulder <[email protected]>
- Loading branch information
1 parent
181714c
commit 239f7fd
Showing
12 changed files
with
252 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Unstable channel for testing isv:Rancher:Elemental OBS projects | ||
# it is only rendered if the registryUrl value includes a known OBS project reference | ||
{{ if and (hasPrefix "registry.opensuse.org" .Values.registryUrl) (contains "isv/rancher/elemental" .Values.registryUrl) }} | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSVersionChannel | ||
metadata: | ||
name: unstable-testing-channel | ||
namespace: fleet-default | ||
spec: | ||
options: | ||
image: {{ .Values.registryUrl }}/rancher/elemental-unstable-channel:latest | ||
type: custom | ||
{{ end }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{{ $defChannelName := "" }} | ||
{{ if and .Values.channel .Values.channel.image .Values.channel.tag .Values.channel.name }} | ||
{{ $defChannelName := .Values.channel.name }} | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSVersionChannel | ||
metadata: | ||
name: {{ .Values.channel.name }} | ||
namespace: fleet-default | ||
spec: | ||
options: | ||
image: {{ .Values.channel.image }}:{{ .Values.channel.tag }} | ||
type: custom | ||
{{ end }} | ||
|
||
# Keep pre-existing channels managed by Helm if they do not match with the current default | ||
# this way if an upgrade introduces a new channel any pre-existing channel managed by Helm is not deleted | ||
{{ range $index, $channel := (lookup "elemental.cattle.io/v1beta1" "ManagedOSVersionChannel" "fleet-default" "").items }} | ||
{{ if and (eq (index $channel.metadata.labels "app.kubernetes.io/managed-by") "Helm") (ne $channel.metadata.name $defChannelName) }} | ||
--- | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSVersionChannel | ||
metadata: | ||
name: {{ $channel.metadata.name }} | ||
namespace: fleet-default | ||
spec: | ||
options: | ||
image: {{ $channel.spec.options.image }} | ||
type: custom | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.