Skip to content

Commit

Permalink
Merge pull request #402 from mauriciopoppe/flatten-helm-values
Browse files Browse the repository at this point in the history
Bump default helm chart image to v2.6.0
  • Loading branch information
k8s-ci-robot authored Aug 7, 2023
2 parents 9bbfe57 + c4d8521 commit 6604f41
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 43 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/onsi/ginkgo/v2 v2.9.1
github.com/onsi/gomega v1.27.4
github.com/prometheus/client_golang v1.14.0
github.com/spf13/pflag v1.0.5
golang.org/x/sys v0.6.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.27.3
Expand Down Expand Up @@ -80,7 +81,6 @@ require (
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/spf13/cobra v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stoewer/go-strcase v1.2.0 // indirect
go.etcd.io/etcd/api/v3 v3.5.7 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.7 // indirect
Expand Down Expand Up @@ -148,6 +148,7 @@ replace (
k8s.io/controller-manager => k8s.io/controller-manager v0.27.3
k8s.io/cri-api => k8s.io/cri-api v0.27.3
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.27.3
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.27.3
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.27.3
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.27.3
k8s.io/kube-proxy => k8s.io/kube-proxy v0.27.3
Expand Down
7 changes: 3 additions & 4 deletions helm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

### Breaking changes

- Helm Chart values flattened when possible (#393, @mauriciopoppe)
- Helm Chart values flattened when possible ([#393](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/393), [@mauriciopoppe](https://github.com/mauriciopoppe))
- Flattened top level `common` dictionary, all the keys are now at the top level.
- Flattened top level `daemonset` dictionary, all the keys are now at the top level.
- `rbac.pspEnabled` removed
- `useAlphaAPI` removed

### Features

- Add enableWindows helm chart value to control the deployment of Windows manifests (#388, @jennwah)
- Helm chart v1.0.0 uses registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
Add field .Values.daemonset.nodeSelectorWindows to the helm chart. (#353, @mauriciopoppe)
- Add enableWindows helm chart value to control the deployment of Windows manifests ([#388](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/388), [@jennwah](https://github.com/jennwah))
- Add support for additional volumes ([#401](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/401), [@stevehipwell](https://github.com/stevehipwell))
4 changes: 2 additions & 2 deletions helm/generated_examples/additional-volumes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ spec:
name: signal
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -135,7 +135,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-affinity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ spec:
- localssd
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -144,7 +144,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-cleanbyjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -173,7 +173,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-default-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -133,7 +133,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-nodeselector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
localVolume: present
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -136,7 +136,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-priority-critical.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -135,7 +135,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-priority-noncritical.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -135,7 +135,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -155,7 +155,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-resyncperiod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -134,7 +134,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-tolerations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
key: node-role.kubernetes.io/master
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -138,7 +138,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-with-resource-limits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
resources:
Expand All @@ -142,7 +142,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal-without-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -87,7 +87,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/baremetal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -134,7 +134,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/eks-nvme-ssd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -130,7 +130,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/gce-retain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -148,7 +148,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/gce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -148,7 +148,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/gke-nvme-ssd-block-raid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -131,7 +131,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
4 changes: 2 additions & 2 deletions helm/generated_examples/gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: provisioner
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
securityContext:
privileged: true
env:
Expand All @@ -131,7 +131,7 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: JOB_CONTAINER_IMAGE
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0
ports:
- name: metrics
containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion helm/provisioner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: local-static-provisioner
description: Helm chart for the SIG Storage Local Volume Static Provisioner.
type: application
version: 1.0.0
appVersion: 2.5.0
appVersion: 2.6.0
keywords:
- storage
- local
Expand Down
2 changes: 1 addition & 1 deletion helm/provisioner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ podAnnotations: {}
podLabels: {}

# Defines Provisioner's image name including container registry.
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0
image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0

# Defines Image download policy, see kubernetes documentation for available values.
# imagePullPolicy: Always
Expand Down
1 change: 1 addition & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,7 @@ sigs.k8s.io/yaml
# k8s.io/controller-manager => k8s.io/controller-manager v0.27.3
# k8s.io/cri-api => k8s.io/cri-api v0.27.3
# k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.27.3
# k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.27.3
# k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.27.3
# k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.27.3
# k8s.io/kube-proxy => k8s.io/kube-proxy v0.27.3
Expand Down

0 comments on commit 6604f41

Please sign in to comment.