Skip to content

Commit

Permalink
Merge pull request #224 from klihub/fixes/use-kustomization-yaml-in
Browse files Browse the repository at this point in the history
operator: don't edit/kustomize files in the repo.
  • Loading branch information
fmuyassarov authored Jan 11, 2024
2 parents dda25ef + 4019f19 commit 0e0544b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deployment/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ ARCH := $(shell uname -m | sed 's/x86_64/amd64/' | sed 's/aarch64/arm64/')

.PHONY: kustomize
KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
kustomize: kustomizations ## Download kustomize locally if necessary.
ifeq (,$(wildcard $(KUSTOMIZE)))
ifeq (,$(shell which kustomize 2>/dev/null))
@{ \
Expand Down Expand Up @@ -235,3 +235,9 @@ cleanup-crds: ## Clean up temporarily copied CRDs and CRs.
rm -f $(SAMPLE_DEST_DIR)/template-config.yaml
rm -f $(SAMPLE_DEST_DIR)/topologyaware-config.yaml
rm -f $(SAMPLE_DEST_DIR)/noderesourcetopology.yaml

.PHONY: kustomizations
kustomizations: config/manager/kustomization.yaml

config/manager/kustomization.yaml: config/manager/kustomization.yaml.in
@cp $< $@

0 comments on commit 0e0544b

Please sign in to comment.