Skip to content

Commit

Permalink
Use default values as placeholders for later substitution
Browse files Browse the repository at this point in the history
This commit sets repository and version well known values in
Chart.yaml and values.yaml files so they can be dynamically replaced by some
sort of automation at build time.

Signed-off-by: David Cassany <[email protected]>
  • Loading branch information
davidcassany committed Oct 6, 2022
1 parent a97de52 commit c3025ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# SPDX-License-Identifier: Apache-2.0
#!BuildTag: elemental/elemental-operator:latest
#!BuildTag: elemental/elemental-operator:0.0.0-noversion
#!BuildTag: elemental/elemental-operator:0.0.0-noversion-build%RELEASE%
apiVersion: v2
name: elemental-operator
description: Rancher Elemental Operator
version: 0.0.0
appVersion: 0.0.0
version: 0.0.0-noversion
appVersion: 0.0.0-noversion
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/experimental: "true"
Expand Down
5 changes: 3 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
image:
empty: rancher/pause:3.1
# elemental-operator image is also build on registry.opensuse.org/isv/rancher/elemental/teal52/15.3/rancher/elemental-operator
repository: quay.io/costoolkit/elemental-operator
# elemental-operator image is also build on:
# registry.opensuse.org/isv/rancher/elemental/teal53/15.4/rancher/elemental-operator
repository: "quay.io/costoolkit/elemental-operator"
tag: latest
imagePullPolicy: IfNotPresent

Expand Down

0 comments on commit c3025ac

Please sign in to comment.