Skip to content

Commit 18cd164

Browse files
committed
Revert "release 1.0.0: bump version and appVersion for the jetstack-agent chart"
This reverts commit cf8818e.
1 parent cf8818e commit 18cd164

File tree

4 files changed

+16
-26
lines changed

4 files changed

+16
-26
lines changed

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,11 @@ The chart will be mirrored to:
153153

154154
### Step 3: Release the Helm Chart "jetstack-secure"
155155

156-
This chart is for [Jetstack
157-
Secure](https://platform.jetstack.io/documentation/installation/agent#jetstack-agent-helm-chart-installation).
158-
159-
> [!NOTE]
160-
>
161-
> Prior to v1.0.0, this chart's `version` and `appVersion` were different. This
162-
allowed the chart to be updated and released more frequently than the Docker
163-
image if necessary. We have decided to align the chart's `version` and
164-
`appVersion` with the Docker image tag, starting with v1.0.0, to simplify the
165-
release process.
156+
The [jetstack-agent](deploy/charts/jetstack-agent/README.md) chart has a different version number to the agent.
157+
This is because the first version of *this* chart was given version `0.1.0`,
158+
while the app version at the time was `0.1.38`.
159+
And this allows the chart to be updated and released more frequently than the Docker image if necessary.
160+
This chart is for [Jetstack Secure](https://platform.jetstack.io/documentation/installation/agent#jetstack-agent-helm-chart-installation).
166161

167162
1. Create a branch
168163
1. Increment version numbers.
@@ -173,10 +168,6 @@ release process.
173168
Use a `v` prefix, to match the Docker image tag.
174169
1. Increment the `image.tag` value in [values.yaml](deploy/charts/jetstack-agent/values.yaml).
175170
Use a `v` prefix, to match the Docker image tag.
176-
1. Update the Helm unit test snapshots:
177-
```sh
178-
helm unittest ./deploy/charts/jetstack-agent --update-snapshot
179-
```
180171
1. Create a pull request and wait for it to be approved.
181172
1. Merge the branch
182173
1. Push a tag, using the format: `chart-vX.Y.Z`.

deploy/charts/jetstack-agent/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: jetstack-agent
33
description: TLS Protect for Kubernetes Agent
44
type: application
5-
version: 1.0.0
6-
appVersion: "v1.0.0"
5+
version: 0.4.0
6+
appVersion: "v0.1.43"
77
home: https://github.com/jetstack/jetstack-secure
88
maintainers:
99
- name: JSCP and CRE Team

deploy/charts/jetstack-agent/tests/__snapshot__/configuration_test.yaml.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ render correctly when only required config is given:
191191
app.kubernetes.io/instance: RELEASE-NAME
192192
app.kubernetes.io/managed-by: Helm
193193
app.kubernetes.io/name: jetstack-agent
194-
app.kubernetes.io/version: v1.0.0
195-
helm.sh/chart: jetstack-agent-1.0.0
194+
app.kubernetes.io/version: v0.1.43
195+
helm.sh/chart: jetstack-agent-0.4.0
196196
name: agent-config
197197
namespace: NAMESPACE

deploy/charts/jetstack-agent/values.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ image:
1111
# -- Defaults to only pull if not already present
1212
pullPolicy: IfNotPresent
1313
# -- Overrides the image tag whose default is the chart appVersion
14-
tag: "v1.0.0"
14+
tag: "v0.1.43"
1515

1616
# -- Specify image pull credentials if using a prviate registry
1717
imagePullSecrets: []
@@ -33,14 +33,13 @@ serviceAccount:
3333

3434
podAnnotations: {}
3535

36-
podSecurityContext:
37-
{}
36+
podSecurityContext: {}
3837
# fsGroup: 2000
3938

4039
securityContext:
4140
capabilities:
4241
drop:
43-
- ALL
42+
- ALL
4443
readOnlyRootFilesystem: true
4544
runAsNonRoot: true
4645
runAsUser: 1000
@@ -78,7 +77,7 @@ extraArgs: []
7877
# -- Authentication section for the agent
7978
authentication:
8079
# -- Reccomend that you do not use this and instead creat the credential secret outside of helm
81-
createSecret: false
80+
createSecret: false
8281
# -- Type can be "file"/"token" determining how the agent should authenticate the to the backend
8382
type: file
8483
# -- Name of the secret containing agent credentials.json
@@ -121,8 +120,8 @@ config:
121120
# -- Override disabled by default
122121
enabled: false
123122
# -- Embed the agent configuration here in the chart values
124-
config:
123+
config:
125124
# -- Sepcify ConfigMap details to load config from existing ConfigMap
126125
configmap:
127-
name:
128-
key:
126+
name:
127+
key:

0 commit comments

Comments
 (0)