Skip to content

Commit 59f200c

Browse files
authored
Merge pull request #145 from aramase/aramase/r/release_v0.0.2
release: update manifest and helm charts for v0.0.2
2 parents 41e7b4b + 31dbd4f commit 59f200c

File tree

7 files changed

+36
-25
lines changed

7 files changed

+36
-25
lines changed

Makefile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -310,20 +310,13 @@ run-e2e-provider-tests:
310310
.PHONY: release-manifest
311311
release-manifest:
312312
$(MAKE) manifests
313-
@if [[ "$$(uname)" == "Darwin" ]]; then \
314-
sed -i '' "s/version: .*/version: ${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/Chart.yaml; \
315-
sed -i '' "s/appVersion: v .*/appVersion: v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/Chart.yaml; \
316-
sed -i '' "s/tag: v${CURRENTVERSION}/tag: v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/values.yaml; \
317-
sed -i '' "s/v${CURRENTVERSION}/v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/README.md; \
318-
else \
319-
sed -i "s/version: .*/version: ${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/Chart.yaml; \
320-
sed -i "s/appVersion: v .*/appVersion: v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/Chart.yaml; \
321-
sed -i "s/tag: v${CURRENTVERSION}/tag: v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/values.yaml; \
322-
sed -i "s/v${CURRENTVERSION}/v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/README.md; \
323-
fi
313+
@sed -i "s/version: .*/version: ${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/Chart.yaml
314+
@sed -i "s/appVersion: .*/appVersion: v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/Chart.yaml
315+
@sed -i "s/tag: v${CURRENTVERSION}/tag: v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/values.yaml
316+
@sed -i "s/v${CURRENTVERSION}/v${NEWVERSION}/" manifest_staging/charts/secrets-store-sync-controller/README.md
324317

325318
.PHONY: promote-staging-manifest
326319
promote-staging-manifest: #promote staging manifests to release dir
327320
$(MAKE) release-manifest
328321
@rm -rf charts/secrets-store-sync-controller/
329-
@cp -r manifest_staging/charts/ ./charts
322+
@cp -r manifest_staging/charts/secrets-store-sync-controller ./charts
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: secrets-store-sync-controller
3-
version: 0.0.1
4-
appVersion: v0.0.1
5-
kubeVersion: ">=1.27.0"
3+
version: 0.0.2
4+
appVersion: v0.0.2
5+
kubeVersion: ">=1.27.0-0"
66
description: A Helm chart to install the Secrets Store Sync Controller and its associated resources inside a Kubernetes cluster.

charts/secrets-store-sync-controller/README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1-
# Deploying the Secrets Store Sync Controller
2-
You can deploy the Secrets Store Sync Controller with Helm using following command:
3-
```sh
4-
helm install -f values <path_to_values.yaml> secrets-store-sync-controller charts/secrets-store-sync-controller
1+
# secrets-store-sync-controller
2+
3+
## Installation
4+
5+
Quick start instructions for the setup and configuration of secrets-store-sync-controller using Helm.
6+
7+
### Prerequisites
8+
9+
- [Helm](https://helm.sh/docs/intro/quickstart/#install-helm)
10+
11+
### Installing the chart
12+
13+
#### Add the chart repo
14+
15+
```bash
16+
helm repo add secrets-store-sync-controller https://kubernetes-sigs.github.io/secrets-store-sync-controller/charts
17+
```
18+
19+
#### Install chart using Helm v3.0+
20+
21+
```bash
22+
helm install secrets-sync-controller secrets-store-sync-controller/secrets-store-sync-controller
523
```
624

725
## Configuration and Parameters
@@ -18,7 +36,7 @@ You can customize the installation by modifying values in the `values.yaml` file
1836
| `validatingAdmissionPolicies.deniedSecretTypes` | The types of secrets that the Secrets Store Sync Controller should deny. | `["kubernetes.io/service-account-token"]` |
1937
| `image.repository` | The image repository of the Secrets Store Sync Controller. | `registry.k8s.io/secrets-store-sync/controller` |
2038
| `image.pullPolicy` | Image pull policy. | `IfNotPresent` |
21-
| `image.tag` | The specific image tag to use. Overrides the image tag whose default is the chart's `appVersion`. | `v0.0.1` |
39+
| `image.tag` | The specific image tag to use. Overrides the image tag whose default is the chart's `appVersion`. | `v0.0.2` |
2240
| `securityContext` | Security context for the Secrets Store Sync Controller. | `{ allowPrivilegeEscalation: false, capabilities: { drop: [ALL] } }` |
2341
| `resources` | The resource request/limits for the Secrets Store Sync Controller image. | `limits: 500m CPU, 128Mi; requests: 10m CPU, 64Mi` |
2442
| `podAnnotations` | Annotations to be added to pods. | `{ kubectl.kubernetes.io/default-container: "manager" }` |

charts/secrets-store-sync-controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ validatingAdmissionPolicies:
2626
image:
2727
repository: registry.k8s.io/secrets-store-sync/controller # e.g. my-registry.example.com/my-repo
2828
pullPolicy: IfNotPresent
29-
tag: v0.0.1
29+
tag: v0.0.2
3030

3131
securityContext:
3232
# Default values, can be overridden or extended
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: secrets-store-sync-controller
3-
version: 0.0.1
4-
appVersion: v0.0.1
3+
version: 0.0.2
4+
appVersion: v0.0.2
55
kubeVersion: ">=1.27.0-0"
66
description: A Helm chart to install the Secrets Store Sync Controller and its associated resources inside a Kubernetes cluster.

manifest_staging/charts/secrets-store-sync-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You can customize the installation by modifying values in the `values.yaml` file
3636
| `validatingAdmissionPolicies.deniedSecretTypes` | The types of secrets that the Secrets Store Sync Controller should deny. | `["kubernetes.io/service-account-token"]` |
3737
| `image.repository` | The image repository of the Secrets Store Sync Controller. | `registry.k8s.io/secrets-store-sync/controller` |
3838
| `image.pullPolicy` | Image pull policy. | `IfNotPresent` |
39-
| `image.tag` | The specific image tag to use. Overrides the image tag whose default is the chart's `appVersion`. | `v0.0.1` |
39+
| `image.tag` | The specific image tag to use. Overrides the image tag whose default is the chart's `appVersion`. | `v0.0.2` |
4040
| `securityContext` | Security context for the Secrets Store Sync Controller. | `{ allowPrivilegeEscalation: false, capabilities: { drop: [ALL] } }` |
4141
| `resources` | The resource request/limits for the Secrets Store Sync Controller image. | `limits: 500m CPU, 128Mi; requests: 10m CPU, 64Mi` |
4242
| `podAnnotations` | Annotations to be added to pods. | `{ kubectl.kubernetes.io/default-container: "manager" }` |

manifest_staging/charts/secrets-store-sync-controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ validatingAdmissionPolicies:
2626
image:
2727
repository: registry.k8s.io/secrets-store-sync/controller # e.g. my-registry.example.com/my-repo
2828
pullPolicy: IfNotPresent
29-
tag: v0.0.1
29+
tag: v0.0.2
3030

3131
securityContext:
3232
# Default values, can be overridden or extended

0 commit comments

Comments
 (0)