Skip to content

Commit 01b3961

Browse files
committed
Update envvar name for netutils container image
There is a env-var->go-var transform in openstack-operator that matches env vars to go vars based on _ breaks in the name. Our spec wants NetUtilsImage which requires NET_UTILS_IMAGE, not NETUTILS_IMAGE to get the correct camel case. This patch keeps things consistent across the repos.
1 parent 3eda511 commit 01b3961

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1beta1/designate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func SetupDefaults() {
324324
WorkerContainerImageURL: util.GetEnvVar("RELATED_IMAGE_DESIGNATE_WORKER_IMAGE_URL_DEFAULT", DesignateWorkerContainerImage),
325325
UnboundContainerImageURL: util.GetEnvVar("RELATED_IMAGE_DESIGNATE_UNBOUND_IMAGE_URL_DEFAULT", DesignateUnboundContainerImage),
326326
Backendbind9ContainerImageURL: util.GetEnvVar("RELATED_IMAGE_DESIGNATE_BACKENDBIND9_IMAGE_URL_DEFAULT", DesignateBackendbind9ContainerImage),
327-
NetUtilsURL: util.GetEnvVar("RELATED_IMAGE_NETUTILS_IMAGE_URL_DEFAULT", NetUtilsContainerImage),
327+
NetUtilsURL: util.GetEnvVar("RELATED_IMAGE_NET_UTILS_IMAGE_URL_DEFAULT", NetUtilsContainerImage),
328328
DesignateAPIRouteTimeout: APITimeout,
329329
}
330330

config/default/manager_default_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ spec:
2525
value: quay.io/podified-antelope-centos9/openstack-designate-backend-bind9:current-podified
2626
- name: RELATED_IMAGE_DESIGNATE_UNBOUND_IMAGE_URL_DEFAULT
2727
value: quay.io/podified-antelope-centos9/openstack-unbound:current-podified
28-
- name: RELATED_IMAGE_NETUTILS_IMAGE_URL_DEFAULT
28+
- name: RELATED_IMAGE_NET_UTILS_IMAGE_URL_DEFAULT
2929
value: quay.io/podified-antelope-centos9/openstack-netutils:current-podified

0 commit comments

Comments
 (0)