Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ jobs:
- name: Update chart version
run: |
VERSION=${GITHUB_REF#refs/tags/v}
IMAGE_TAG=${GITHUB_REF#refs/tags/}
sed -i "s/^version:.*/version: ${VERSION}/" deploy/charts/deployment-tracker/Chart.yaml
sed -i "s/^appVersion:.*/appVersion: \"${VERSION}\"/" deploy/charts/deployment-tracker/Chart.yaml
sed -i "s/^appVersion:.*/appVersion: \"${IMAGE_TAG}\"/" deploy/charts/deployment-tracker/Chart.yaml

- name: Package Helm chart
run: helm package deploy/charts/deployment-tracker
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Deployment Tracker

> [!CAUTION]
> This project is in an early preview state and contains experimental
> code. It is under active development and not ready for production
> use. Breaking changes are likely, and stability or security is not
> guaranteed. Use at your own risk.

A Kubernetes controller that monitors pod lifecycles and uploads
deployment records to GitHub's artifact metadata API.

Expand Down
4 changes: 2 additions & 2 deletions deploy/charts/deployment-tracker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: deployment-tracker
description: A Kubernetes controller that monitors pod lifecycles and uploads deployment records to GitHub's artifact metadata API
type: application
version: 0.0.0
appVersion: "0.0.0"
version: 1.0.0
appVersion: "v1.0.0"
kubeVersion: ">= 1.19.0-0"
keywords:
- kubernetes
Expand Down
1 change: 1 addition & 0 deletions deploy/charts/deployment-tracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ At least one authentication method must be configured (see
| `config.dnTemplate` | Deployment name template | `{{namespace}}/{{deploymentName}}/{{containerName}}` |
| `config.namespace` | Namespace to monitor (empty for all) | `""` |
| `config.excludeNamespaces` | Namespaces to exclude (comma-separated) | `""` |
| `config.bulkClusterSync` | Bulk-sync cluster state at startup | `true` |
| `config.workers` | Number of worker goroutines | `2` |
| `config.metricsPort` | Port for Prometheus metrics | `9090` |

Expand Down
2 changes: 2 additions & 0 deletions deploy/charts/deployment-tracker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spec:
value: {{ .Values.config.baseUrl | quote }}
- name: DN_TEMPLATE
value: {{ .Values.config.dnTemplate | quote }}
- name: BULK_CLUSTER_SYNC
value: {{ .Values.config.bulkClusterSync | quote }}
{{- if .Values.auth.apiToken }}
- name: API_TOKEN
value: {{ .Values.auth.apiToken | quote }}
Expand Down
2 changes: 2 additions & 0 deletions deploy/charts/deployment-tracker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ config:
namespace: ""
# Comma-separated list of namespaces to exclude from monitoring
excludeNamespaces: ""
# Bulk-sync cluster state when the controller starts
bulkClusterSync: true
# Number of worker goroutines
workers: 2
# Port for Prometheus metrics
Expand Down
Loading