File tree Expand file tree Collapse file tree
deploy/charts/deployment-tracker Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 - name : Update chart version
6868 run : |
6969 VERSION=${GITHUB_REF#refs/tags/v}
70+ IMAGE_TAG=${GITHUB_REF#refs/tags/}
7071 sed -i "s/^version:.*/version: ${VERSION}/" deploy/charts/deployment-tracker/Chart.yaml
71- sed -i "s/^appVersion:.*/appVersion: \"${VERSION }\"/" deploy/charts/deployment-tracker/Chart.yaml
72+ sed -i "s/^appVersion:.*/appVersion: \"${IMAGE_TAG }\"/" deploy/charts/deployment-tracker/Chart.yaml
7273
7374 - name : Package Helm chart
7475 run : helm package deploy/charts/deployment-tracker
Original file line number Diff line number Diff line change 11# Deployment Tracker
22
3- > [ !CAUTION]
4- > This project is in an early preview state and contains experimental
5- > code. It is under active development and not ready for production
6- > use. Breaking changes are likely, and stability or security is not
7- > guaranteed. Use at your own risk.
8-
93A Kubernetes controller that monitors pod lifecycles and uploads
104deployment records to GitHub's artifact metadata API.
115
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ apiVersion: v2
22name : deployment-tracker
33description : A Kubernetes controller that monitors pod lifecycles and uploads deployment records to GitHub's artifact metadata API
44type : application
5- version : 0 .0.0
6- appVersion : " 0 .0.0"
5+ version : 1 .0.0
6+ appVersion : " v1 .0.0"
77kubeVersion : " >= 1.19.0-0"
88keywords :
99 - kubernetes
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ At least one authentication method must be configured (see
6464| ` config.dnTemplate ` | Deployment name template | ` {{namespace}}/{{deploymentName}}/{{containerName}} ` |
6565| ` config.namespace ` | Namespace to monitor (empty for all) | ` "" ` |
6666| ` config.excludeNamespaces ` | Namespaces to exclude (comma-separated) | ` "" ` |
67+ | ` config.bulkClusterSync ` | Bulk-sync cluster state at startup | ` true ` |
6768| ` config.workers ` | Number of worker goroutines | ` 2 ` |
6869| ` config.metricsPort ` | Port for Prometheus metrics | ` 9090 ` |
6970
Original file line number Diff line number Diff line change 6969 value : {{ .Values.config.baseUrl | quote }}
7070 - name : DN_TEMPLATE
7171 value : {{ .Values.config.dnTemplate | quote }}
72+ - name : BULK_CLUSTER_SYNC
73+ value : {{ .Values.config.bulkClusterSync | quote }}
7274 {{- if .Values.auth.apiToken }}
7375 - name : API_TOKEN
7476 value : {{ .Values.auth.apiToken | quote }}
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ config:
3030 namespace : " "
3131 # Comma-separated list of namespaces to exclude from monitoring
3232 excludeNamespaces : " "
33+ # Bulk-sync cluster state when the controller starts
34+ bulkClusterSync : true
3335 # Number of worker goroutines
3436 workers : 2
3537 # Port for Prometheus metrics
You can’t perform that action at this time.
0 commit comments