Skip to content

Commit

Permalink
Add code to override control-plane driver image for azure-disk
Browse files Browse the repository at this point in the history
  • Loading branch information
gnufied committed Nov 29, 2023
1 parent 69471f7 commit 13c480c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $(call build-image,cluster-storage-operator,$(IMAGE_REGISTRY)/ocp/4.6:cluster-st
# $3 - manifests directory
$(call add-profile-manifests,manifests,./profile-patches,./manifests)

update: generate-kustomize-manifests
update: generate-kustomize-manifests update-generated

generate-kustomize-manifests:
./hack/generate-manifests.sh
Expand Down
8 changes: 4 additions & 4 deletions manifests/10_deployment-hypershift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ spec:
value: quay.io/openshift/origin-powervs-block-csi-driver:latest
- name: HYPERSHIFT_IMAGE
value: quay.io/openshift/origin-control-plane:latest
- name: AZURE_DISK_DRIVER_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-azure-disk-csi-driver-operator:latest
- name: LIVENESS_PROBE_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-csi-livenessprobe:latest
- name: AWS_EBS_DRIVER_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-aws-ebs-csi-driver:latest
- name: LIVENESS_PROBE_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-csi-livenessprobe:latest
- name: AZURE_DISK_DRIVER_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-azure-disk-csi-driver-operator:latest
image: quay.io/openshift/origin-cluster-storage-operator:latest
imagePullPolicy: IfNotPresent
name: cluster-storage-operator
Expand Down
2 changes: 1 addition & 1 deletion profile-patches/hypershift/10_deployment.yaml-patch
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
name: AWS_EBS_DRIVER_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-aws-ebs-csi-driver:latest
- op: add
path: /spec/template/spec/containers/0/env/40
path: /spec/template/spec/containers/0/env/41
value:
name: AZURE_DISK_DRIVER_CONTROL_PLANE_IMAGE
value: quay.io/openshift/origin-azure-disk-csi-driver-operator:latest
Expand Down

0 comments on commit 13c480c

Please sign in to comment.