Skip to content

Commit

Permalink
Merge pull request #115 from rebtoor/kustomize/openstack-operator-ver…
Browse files Browse the repository at this point in the history
…sion

Added the `openstack-operator-image` variable
  • Loading branch information
fultonj authored Mar 6, 2024
2 parents cb5c066 + da67b27 commit 1904f47
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/va/hci/control-plane/nncp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
openstack-operator-image: "quay.io/openstack-k8s-operators/openstack-operator-index:latest"
# nodes
node_0:
name: ostest-master-0
Expand Down
1 change: 1 addition & 0 deletions examples/va/nfv/ovs-dpdk/nncp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
openstack-operator-image: "quay.io/openstack-k8s-operators/openstack-operator-index:latest"
# nodes
node_0:
name: ostest-master-0
Expand Down
1 change: 1 addition & 0 deletions examples/va/nfv/sriov/nncp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
openstack-operator-image: "quay.io/openstack-k8s-operators/openstack-operator-index:latest"
# nodes
node_0:
name: ostest-master-0
Expand Down
14 changes: 14 additions & 0 deletions lib/olm-openstack/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- catalogsource.yaml
- namespaces.yaml
- operatorgroup.yaml
- subscription.yaml

replacements:
- source:
kind: ConfigMap
name: network-values
fieldPath: data.openstack-operator-image
targets:
- select:
kind: CatalogSource
fieldPaths:
- spec.image

0 comments on commit 1904f47

Please sign in to comment.