Skip to content

Commit

Permalink
e2e: deploy ORC using CAPI machinery
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilienM committed Jan 2, 2025
1 parent 6a10fdb commit 967eb78
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/e2e/data/e2e_conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ images:
# Use local dev images built source tree;
- name: gcr.io/k8s-staging-capi-openstack/capi-openstack-controller:e2e
loadBehavior: mustLoad
- name: quay.io/orc/openstack-resource-controller:v1.0.0
loadBehavior: tryLoad

providers:
- name: cluster-api
Expand Down Expand Up @@ -133,6 +135,18 @@ providers:
new: "--v=4"
- old: "--leader-elect"
new: "--leader-elect=false\n - --sync-period=1m"
- name: openstack-resource-controller
type: RuntimeExtensionProvider # ORC isn't a provider but we fake it so it can be handled by the clusterctl machinery.
versions:
- name: v1.0.0
value: https://github.com/k-orc/openstack-resource-controller/releases/download/v1.0.0/install.yaml
type: url
contract: v1alpha1
files:
- sourcePath: "../data/shared/v1alpha1_orc/metadata.yaml"
replacements:
- old: "imagePullPolicy: Always"
new: "imagePullPolicy: IfNotPresent"


# default variables for the e2e test; those values could be overridden via env variables, thus
Expand Down
6 changes: 6 additions & 0 deletions test/e2e/data/shared/v1alpha1_orc/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: openstack.k-orc.cloud/v1alpha1
kind: Metadata
releaseSeries:
- major: 1
minor: 0
contract: v1alpha1

0 comments on commit 967eb78

Please sign in to comment.