Skip to content

Commit

Permalink
Use yq4 in iap-ingress Makefile. Fixes #334 (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
edi-bice-by authored Nov 5, 2021
1 parent 88d5cdd commit 0c49baf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kubeflow/common/iap-ingress/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
build_dir?=./build
NAME=$(shell yq r ../../kptconfig/kpt-setter-config.yaml 'data.name')
PACKAGE_DIR?=$(shell pwd)/../..
YQ=docker run --rm -v "$(PACKAGE_DIR)/":/workdir mikefarah/yq:4
NAME=$(shell $(YQ) e '.data.name' ../../kptconfig/kpt-setter-config.yaml)
# The kubectl context for your Kubeflow cluster
KFCTXT=$(NAME)

Expand Down

0 comments on commit 0c49baf

Please sign in to comment.