File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 18
18
kubectl rollout restart deployment cluster-api-runtime-extensions-nutanix
19
19
kubectl rollout status deployment cluster-api-runtime-extensions-nutanix
20
20
21
+ .PHONY : dev.update-webhook-image-on-kind
22
+ dev.update-webhook-image-on-kind : export KUBECONFIG := $(KIND_KUBECONFIG )
21
23
dev.update-webhook-image-on-kind :
22
24
ifndef SKIP_BUILD
23
25
$(MAKE) release-snapshot
27
29
kubectl set image deployment cluster-api-runtime-extensions-nutanix webhook=ko.local/cluster-api-runtime-extensions-nutanix:$$(gojq -r .version dist/metadata.json)
28
30
kubectl rollout restart deployment cluster-api-runtime-extensions-nutanix
29
31
kubectl rollout status deployment cluster-api-runtime-extensions-nutanix
32
+
33
+
34
+ .PHONY : dev.update-bootstrap-credentials-aws
35
+ dev.update-bootstrap-credentials-aws : export KUBECONFIG := $(KIND_KUBECONFIG )
36
+ dev.update-bootstrap-credentials-aws : export AWS_B64ENCODED_CREDENTIALS := $(shell clusterawsadm bootstrap credentials encode-as-profile)
37
+ dev.update-bootstrap-credentials-aws :
38
+ kubectl patch secret capa-manager-bootstrap-credentials -n capa-system -p=' {"data":{"credentials": "$(AWS_B64ENCODED_CREDENTIALS)"}}'
39
+ kubectl rollout restart deployment capa-controller-manager -n capa-system
40
+ kubectl rollout status deployment capa-controller-manager -n capa-system
You can’t perform that action at this time.
0 commit comments