You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+81-80Lines changed: 81 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,18 +51,18 @@ If you use the Prometheus Operator, you can use `--set metrics.podmonitor.enable
51
51
which will add the venafi-kubernetes-agent metrics to your Prometheus server.
52
52
53
53
The following metrics are collected:
54
-
* Go collector: via the [default registry](https://github.com/prometheus/client_golang/blob/34e02e282dc4a3cb55ca6441b489ec182e654d59/prometheus/registry.go#L60-L63) in Prometheus client_golang.
55
-
* Process collector: via the [default registry](https://github.com/prometheus/client_golang/blob/34e02e282dc4a3cb55ca6441b489ec182e654d59/prometheus/registry.go#L60-L63) in Prometheus client_golang.
56
-
* Agent metrics:
57
-
*`data_readings_upload_size`: Data readings upload size (in bytes) sent by the jscp in-cluster agent.
58
54
55
+
- Go collector: via the [default registry](https://github.com/prometheus/client_golang/blob/34e02e282dc4a3cb55ca6441b489ec182e654d59/prometheus/registry.go#L60-L63) in Prometheus client_golang.
56
+
- Process collector: via the [default registry](https://github.com/prometheus/client_golang/blob/34e02e282dc4a3cb55ca6441b489ec182e654d59/prometheus/registry.go#L60-L63) in Prometheus client_golang.
57
+
- Agent metrics:
58
+
-`data_readings_upload_size`: Data readings upload size (in bytes) sent by the jscp in-cluster agent.
|`oci://quay.io/jetstack/charts/venafi-kubernetes-agent`| Public | Not meant for users, used for mirroring ||
82
+
|`oci://eu.gcr.io/jetstack-secure-enterprise/charts/venafi-kubernetes-agent`| Private | Not meant for users, used for mirroring ||
83
+
|`oci://us.gcr.io/jetstack-secure-enterprise/charts/venafi-kubernetes-agent`| Private | Not meant for users, used for mirroring ||
84
+
|`oci://registry.venafi.cloud/charts/venafi-kubernetes-agent`| Public | Tier 1 of Venafi TLS Protect for Kubernetes ||
85
+
|`oci://private-registry.venafi.cloud/charts/venafi-kubernetes-agent`| Private | Tier 2 of Venafi TLS Protect for Kubernetes |[Venafi Private Registry][]|
86
+
|`oci://private-registry.venafi.eu/charts/venafi-kubernetes-agent`| Private | Tier 2 of Venafi TLS Protect for Kubernetes |[Venafi Private Registry][]|
85
87
86
88
## Release Process
87
89
@@ -92,99 +94,98 @@ The release process is semi-automated.
92
94
93
95
### Step 1: Incrementing Versions And Git Tag
94
96
95
-
1. Choose the next semver version number.
96
-
This project has only ever incremented the "patch" number (never the "minor" number) regardless of the scope of the changes.
97
-
1. Create a branch.
98
-
1. Increment version numbers in the `venafi-kubernetes-agent` Helm chart.
99
-
(the `jetstack-secure` Helm chart uses a different version scheme and is updated and released separately):
100
-
1. Increment the `version` value in [Chart.yaml](deploy/charts/venafi-kubernetes-agent/Chart.yaml).
101
-
DO NOT use a `v` prefix.
102
-
The `v` prefix [breaks Helm OCI operations](https://github.com/helm/helm/issues/11107).
103
-
1. Increment `appVersion` value in [Chart.yaml](deploy/charts/venafi-kubernetes-agent/Chart.yaml).
104
-
Use a `v` prefix, to match the Docker image tag.
105
-
1. Commit the changes.
106
-
1. Create a pull request and wait for it to be approved.
107
-
1. Merge the branch.
108
97
1. Go to the GitHub Releases page and click "Draft a New Release".
109
-
- Click "Create a new tag" with the version number prefixed with `v` (e.g., `v0.1.49`).
110
-
- Use the title "v0.1.49",
98
+
- Click "Create a new tag" with the version number prefixed with `v` (e.g., `v1.1.0`).
99
+
- Use the title "v1.1.0",
111
100
- Click "Generate Release Notes"
112
101
- Edit the release notes to make them readable to the end-user.
113
102
- Click "Publish" (don't select "Draft")
114
-
115
-
> [!WARNING]
116
-
>
117
-
> Don't worry about the "signing" pipeline job failing. It hasn't be working for a while. It should be removed as we don't need the provenance steps anymore. We are now signing our image during the replication of the OCI images to Harbor using the Venafi keys.
103
+
2. Inform Michael McLoughlin of the new release so he can update the
104
+
documentation at <https://docs.venafi.cloud/>.
118
105
119
106
> [!NOTE]
120
107
>
121
-
> For context, the new tag will trigger the following:
108
+
> For context, the new tag will create the following images:
> |`quay.io/jetstack/preflight`|No longer built. Use `quay.io/jetstack/venafi-agent` instead. |
113
+
> |`quay.io/jetstack/venafi-agent`|Automatically built by GitHub Actions [release-master](.github/workflows/release-master.yml) on Git tags |
114
+
> |`registry.venafi.cloud/venafi-agent/venafi-agent`|Automatically mirrored by Harbor Replication rule [public-img-and-chart-replication.tf][] that runs every 30 minutes, all image tags containing `X.X.X` are replicated, including e.g. `1.0.0-alpha.0`|
115
+
> |`private-registry.venafi.cloud/venafi-agent/venafi-agent`|Automatically mirrored by Harbor Replication rule [private-img-and-chart-replication.tf][] that runs every 10 minutes, all image tags containing `X.X.X` are replicated, including e.g. `1.0.0-alpha.0`|
116
+
> |`private-registry.venafi.eu/venafi-agent/venafi-agent`|Automatically mirrored by Harbor Replication rule [private-img-and-chart-replication.tf][] that runs every 10 minutes, all image tags containing `X.X.X` are replicated, including e.g. `1.0.0-alpha.0`|
130
117
>
131
-
> The above GitLab cron job is managed by David Barranco. It mirrors the image
132
-
> `quay.io/jetstack/venafi-agent`.
133
-
134
-
### Step 2: Release the Helm Chart "venafi-kubernetes-agent"
135
-
136
-
The [venafi-kubernetes-agent](deploy/charts/venafi-kubernetes-agent/README.md) chart
> |`oci://quay.io/jetstack/charts/venafi-kubernetes-agent`| Automatically built by GitHub Actions [release-master](.github/workflows/release-master.yml) on Git tags[]|
> |`oci://registry.venafi.cloud/charts/venafi-kubernetes-agent`| Automatically mirrored by Harbor Replication rule [public-img-and-chart-replication.tf][] that runs every 30 minutes, all image tags containing `X.X.X` are replicated, including e.g. `v1.0.0-alpha.0`|
128
+
> |`oci://private-registry.venafi.cloud/charts/venafi-kubernetes-agent`| Automatically mirrored by Harbor Replication rule [private-img-and-chart-replication.tf][] that runs every 10 minutes, all image tags containing `X.X.X` are replicated, including e.g. `v1.0.0-alpha.0`|
129
+
> |`oci://private-registry.venafi.eu/charts/venafi-kubernetes-agent`| Automatically mirrored by Harbor Replication rule [private-img-and-chart-replication.tf][] that runs every 10 minutes, all image tags containing `X.X.X` are replicated, including e.g. `v1.0.0-alpha.0`|
0 commit comments