mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-15 20:20:22 +00:00
update install.yaml (#6737)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
parent
0dbf900fe9
commit
af99bb1d0c
2 changed files with 28 additions and 10 deletions
14
Makefile
14
Makefile
|
@ -421,6 +421,7 @@ CLIENTSET_PACKAGE := $(OUT_PACKAGE)/clientset
|
|||
LISTERS_PACKAGE := $(OUT_PACKAGE)/listers
|
||||
INFORMERS_PACKAGE := $(OUT_PACKAGE)/informers
|
||||
CRDS_PATH := ${PWD}/config/crds
|
||||
INSTALL_MANIFEST_PATH := ${PWD}/config/install-latest-testing.yaml
|
||||
|
||||
$(GOPATH_SHIM):
|
||||
@echo Create gopath shim... >&2
|
||||
|
@ -527,7 +528,7 @@ codegen-manifest-install: $(HELM) ## Create install manifest
|
|||
--set reportsController.image.tag=latest \
|
||||
--set backgroundController.image.tag=latest \
|
||||
| $(SED) -e '/^#.*/d' \
|
||||
> ./.manifest/install-latest-testing.yaml.yaml
|
||||
> ./.manifest/install-latest-testing.yaml
|
||||
|
||||
.PHONY: codegen-manifest-install-latest
|
||||
codegen-manifest-install-latest: $(HELM) ## Create install_latest manifest
|
||||
|
@ -633,8 +634,17 @@ verify-helm: codegen-helm-all ## Check Helm charts are up to date
|
|||
@echo 'To correct this, locally run "make codegen-helm-all", commit the changes, and re-run tests.' >&2
|
||||
@git diff --quiet --exit-code charts
|
||||
|
||||
.PHONY: verify-manifests
|
||||
verify-manifests: codegen-manifest-all ## Check manifests are up to date
|
||||
@echo Checking manifests are up to date... >&2
|
||||
@git --no-pager diff ${INSTALL_MANIFEST_PATH}
|
||||
@echo 'If this test fails, it is because the git diff is non-empty after running "make codegen-manifest-all".' >&2
|
||||
@echo 'To correct this, locally run "make codegen-manifest-all", commit the changes, and re-run tests.' >&2
|
||||
@git diff --quiet --exit-code ${INSTALL_MANIFEST_PATH}
|
||||
|
||||
|
||||
.PHONY: verify-codegen
|
||||
verify-codegen: verify-crds verify-client verify-deepcopy verify-api-docs verify-helm codegen-manifest-all ## Verify all generated code and docs are up to date
|
||||
verify-codegen: verify-crds verify-client verify-deepcopy verify-api-docs verify-helm verify-manifests ## Verify all generated code and docs are up to date
|
||||
|
||||
##############
|
||||
# UNIT TESTS #
|
||||
|
|
|
@ -33768,6 +33768,8 @@ spec:
|
|||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: TUF_ROOT
|
||||
value: /.sigstore
|
||||
resources:
|
||||
limits:
|
||||
memory: 128Mi
|
||||
|
@ -33784,3 +33786,9 @@ spec:
|
|||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /.sigstore
|
||||
name: sigstore
|
||||
volumes:
|
||||
- name: sigstore
|
||||
emptyDir: {}
|
||||
|
|
Loading…
Add table
Reference in a new issue