Skip to content

Commit 348665c

Browse files
committed
prepare for v1.0.0
Signed-off-by: Eric Pickard <piceri@github.com>
1 parent 7103077 commit 348665c

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ jobs:
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

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
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-
93
A Kubernetes controller that monitors pod lifecycles and uploads
104
deployment records to GitHub's artifact metadata API.
115

deploy/charts/deployment-tracker/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: deployment-tracker
33
description: A Kubernetes controller that monitors pod lifecycles and uploads deployment records to GitHub's artifact metadata API
44
type: application
5-
version: 0.0.0
6-
appVersion: "0.0.0"
5+
version: 1.0.0
6+
appVersion: "v1.0.0"
77
kubeVersion: ">= 1.19.0-0"
88
keywords:
99
- kubernetes

deploy/charts/deployment-tracker/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

deploy/charts/deployment-tracker/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ spec:
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 }}

deploy/charts/deployment-tracker/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)