mirror of
https://github.com/SigNoz/charts.git
synced 2025-12-18 21:23:51 +00:00
Related: https://github.com/SigNoz/platform-pod/issues/1220 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **New Features** * PostgreSQL is now available as a deployable component and has been added to the default deployment configuration. * PostgreSQL deployment includes support for persistence, custom service configuration, security contexts, resource management, and advanced Kubernetes features like affinity rules and topology constraints. * **Documentation** * Added comprehensive PostgreSQL documentation including installation guides, configuration parameter reference, system prerequisites, and deployment best practices. * Documentation includes a complete values reference with detailed descriptions of all configurable options for customizing PostgreSQL deployments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
61 lines
1.8 KiB
Makefile
61 lines
1.8 KiB
Makefile
RELEASE_NAME := my-release
|
|
NAMESPACE := platform # k8s namespace for installing the chart
|
|
|
|
delete-namespace:
|
|
kubectl delete namespace $(NAMESPACE)
|
|
|
|
add-repository:
|
|
helm repo add --force-update signoz https://charts.signoz.io
|
|
|
|
update-repository:
|
|
helm repo update
|
|
|
|
dependency-update:
|
|
helm dependency update charts/signoz
|
|
|
|
setup: add-repository update-repository
|
|
|
|
local-setup: dependency-update
|
|
|
|
# print resulting manifests to console without applying them
|
|
debug:
|
|
helm install --dry-run --debug $(RELEASE_NAME) signoz/signoz
|
|
|
|
# install the chart to configured namespace
|
|
install: setup
|
|
helm upgrade -i $(RELEASE_NAME) -n $(NAMESPACE) --create-namespace signoz/signoz
|
|
|
|
# uninstall the chart and resources from configured namespace
|
|
uninstall:
|
|
helm uninstall -n $(NAMESPACE) $(RELEASE_NAME)
|
|
|
|
# delete all resources from configured namespace
|
|
delete: uninstall
|
|
kubectl delete all,pvc,cm --all -n $(NAMESPACE)
|
|
|
|
upgrade: create-namespace
|
|
helm upgrade $(RELEASE_NAME) -n $(NAMESPACE) --create-namespace
|
|
|
|
list:
|
|
kubectl get all -n $(NAMESPACE)
|
|
|
|
list-all:
|
|
kubectl get all,pvc,cm -n $(NAMESPACE)
|
|
|
|
# install the local development chart to configured namespace
|
|
dev-install: local-setup
|
|
helm upgrade -i $(RELEASE_NAME) -n $(NAMESPACE) --create-namespace charts/signoz
|
|
|
|
re-install: delete install
|
|
|
|
purge: delete delete-namespace
|
|
|
|
# generate docs for the signoz and k8s-infra chart with respective templates
|
|
# generate docs for specified charts with respective templates
|
|
# Usage: make chart-docs CHARTS=chart1,chart2
|
|
# Example: make chart-docs CHARTS=charts/signoz,charts/k8s-infra
|
|
CHARTS ?= charts/signoz,charts/k8s-infra,charts/postgresql
|
|
HELM_DOCS = go run github.com/norwoodj/helm-docs/cmd/helm-docs@v1.14.2
|
|
chart-docs:
|
|
$(HELM_DOCS) --chart-search-root=charts --template-files=README.md.gotmpl --chart-to-generate=$(CHARTS) --sort-values-order=file
|