Skip to content

Commit

Permalink
Merge pull request #290 from inteon/generate_values.schema.json
Browse files Browse the repository at this point in the history
Generate values.schema.json
  • Loading branch information
jetstack-bot authored Feb 19, 2024
2 parents 0d7c610 + 4e1a373 commit cd860d6
Show file tree
Hide file tree
Showing 4 changed files with 581 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ verify-%: FORCE
verify: ## build, test and verify generate tagets
verify: depend build test
verify: verify-generate
verify: verify-update-helm-docs

.PHONY: verify-boilerplate
verify-boilerplate: | $(BINDIR)/boilersuite-$(BOILERSUITE_VERSION)/boilersuite
Expand All @@ -115,7 +114,7 @@ $(BINDIR)/trust-manager-linux-amd64 $(BINDIR)/trust-manager-linux-arm64 $(BINDIR
go build -o $@ ./cmd/trust-manager

.PHONY: generate
generate: depend generate-deepcopy generate-applyconfigurations generate-manifests
generate: depend generate-deepcopy generate-applyconfigurations generate-manifests generate-helm-docs generate-helm-schema

.PHONY: generate-deepcopy
generate-deepcopy: ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Expand Down Expand Up @@ -174,10 +173,14 @@ kind-load: local-images | $(BINDIR)/kind-$(KIND_VERSION)/kind ## same as local-
chart: | $(BINDIR)/helm-$(HELM_VERSION)/helm $(BINDIR)/chart
$(BINDIR)/helm-$(HELM_VERSION)/helm package --app-version=$(RELEASE_VERSION) --version=$(RELEASE_VERSION) --destination "$(BINDIR)/chart" ./deploy/charts/trust-manager

.PHONY: update-helm-docs
update-helm-docs: | $(BINDIR)/helm-tool-$(HELM_TOOL_VERSION)/helm-tool ## update Helm README, generated from other Helm files
.PHONY: generate-helm-docs
generate-helm-docs: | $(BINDIR)/helm-tool-$(HELM_TOOL_VERSION)/helm-tool ## update Helm README, generated from other Helm files
./hack/update-helm-tool.sh $(BINDIR)/helm-tool-$(HELM_TOOL_VERSION)/helm-tool

.PHONY: generate-helm-schema
generate-helm-schema: | $(BINDIR)/helm-tool-$(HELM_TOOL_VERSION)/helm-tool ## update Helm README, generated from other Helm files
$(BINDIR)/helm-tool-$(HELM_TOOL_VERSION)/helm-tool schema -i ./deploy/charts/trust-manager/values.yaml | jq > ./deploy/charts/trust-manager/values.schema.json

.PHONY: clean
clean: ## clean up created files
rm -rf \
Expand Down Expand Up @@ -218,7 +221,7 @@ ensure-trust-manager: ensure-kind kind-load ensure-cert-manager | $(BINDIR)/helm
$(BINDIR)/helm-$(HELM_VERSION)/helm uninstall --kubeconfig $(BINDIR)/kubeconfig.yaml -n cert-manager trust-manager || :
$(BINDIR)/helm-$(HELM_VERSION)/helm upgrade --kubeconfig $(BINDIR)/kubeconfig.yaml -i -n cert-manager trust-manager deploy/charts/trust-manager/. \
--set image.tag=latest \
--set defaultTrustPackage.tag=latest$(DEBIAN_TRUST_PACKAGE_SUFFIX) \
--set defaultPackageImage.tag=latest$(DEBIAN_TRUST_PACKAGE_SUFFIX) \
--set app.logLevel=2 \
--set secretTargets.enabled=true --set secretTargets.authorizedSecretsAll=true \
--wait
Expand Down
4 changes: 4 additions & 0 deletions deploy/charts/trust-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ Timeout of webhook HTTP request.
> ```
The type of Kubernetes Service used by the Webhook.
#### **app.webhook.service.nodePort** ~ `number`
The nodePort set on the Service used by the webhook.
#### **app.webhook.tls.approverPolicy.enabled** ~ `bool`
> Default value:
> ```yaml
Expand Down
Loading

0 comments on commit cd860d6

Please sign in to comment.