Skip to content

Commit 4734c43

Browse files
committed
Add container tool to non-Go operator makefiles
Signed-off-by: Roland Huß <[email protected]>
1 parent 3a2ff1a commit 4734c43

File tree

2 files changed

+6
-0
lines changed
  • internal/plugins/manifests/v2
  • testdata/helm/memcached-operator

2 files changed

+6
-0
lines changed

internal/plugins/manifests/v2/init.go

+3
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ bundle: manifests kustomize operator-sdk ## Generate bundle manifests and metada
230230
`
231231

232232
makefileBundleFragmentNonGo = `
233+
# Container tool to use for building images
234+
CONTAINER_TOOL ?= docker
235+
233236
.PHONY: bundle
234237
bundle: kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files.
235238
$(OPERATOR_SDK) generate kustomize manifests -q

testdata/helm/memcached-operator/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ OPERATOR_SDK = $(shell which operator-sdk)
171171
endif
172172
endif
173173

174+
# Container tool to use for building and pushing images
175+
CONTAINER_TOOL ?= docker
176+
174177
.PHONY: bundle
175178
bundle: kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files.
176179
$(OPERATOR_SDK) generate kustomize manifests --interactive=false -q

0 commit comments

Comments
 (0)