Skip to content

Commit

Permalink
Release v1.8.0 (#295)
Browse files Browse the repository at this point in the history
* updated helm-validations file (#243)

* Powerscale v2.8.0 release (#242)

* Powerscale v2.8.0 release

* Added suppoert container-storage-modules

* Added suppoert container-storage-modules

* recommiting branch due to checks not working

* dummy commit to trigger the checks

* StorageCapacityTracking feature changes (#236)

* Update _helpers.tpl

Added changes related to StorageCapacityTracking

* Update controller.yaml

Added changes related to StorageCapacityTracking

* Update csidriver.yaml

Added changes related to StorageCapacityTracking

* Update values.yaml

Added changes related to StorageCapacityTracking

* Update _helpers.tpl

Storage Capacity Tracking K8s 1.24.

* Update values.yaml

Changed the version to v1.24

* Update csidriver.yaml

Set the default value to false

* Update controller.yaml

Default value of the StorageCapacityTracking should be true

* Update csidriver.yaml

Default value should be true

* Update controller.yaml

Updated the controller file

* Update csidriver.yaml

Updated csidriver.yaml file

* Update controller.yaml

Done changes related to SCT

* csm-replication: Removed init container usage (#244)

* CSIUnity v2.8.0 release  (#248)

* Updated v2.8.0 unity driver version

* addressed review comments on values.yaml file update

* Added the Volumelimits for Powermax (#240)

Co-authored-by: Yamunadevi N Shanmugam <82038610+shanmydell@users.noreply.github.com>

* PowerFlex v2.8.0 release (#250)

* PowerFlex  SDC  updated (#251)

* Adding k8 28 support for powermax (#253)

* Adding K8s1.28 support for PowerFlex (#254)

* K8s 1.28 support unity (#255)

* support k8s v1.28

* support k8s v1.28

* minor typo fixed (#258)

* PowerScale k8s-1.28 support (#260)

* powerstore v2.8.0 & k8s 1.28 support (#262)

* Adding volume limits support for CSIPowerstore

* Adding volume limits support for CSIPowerstore
* Adding maxPowerstoreVolumesPerNode in values.yaml inside container-storage-modules

* Removed duplicate entry for X_CSI_DRIVER_NAME in node.yaml for CSI Powerstore (#273)

* update auth to 1.8 (#271)

* update auth to 1.8

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>

* Updating podmon to 1.7

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>

* Update Observability values file for Authorization sidecar image version

---------

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>
Co-authored-by: Alik Saring <alik.saring@dell.com>

* Update Authorization images version (#277)

* Updated replication controller/replicator/migrator/rescanner SC image versions for CSM v1.8.0 (#278)

* Updated csi-metadata-retriever version to 1.5.0 for CSI Powerstore (#280)

* Update Observability image versions for CSM 1.8. (#281)

* Adding CSI Powerstore driver’s effective pod security profile for supporting ephemeral volumes as part of Openshift 4.13 support (#261)

Co-authored-by: Surya Gupta <109594002+suryagupta4@users.noreply.github.com>

* updated chart version (#282)

* removed externalAccess from powerflex manifests. (#283)

* [charts/cosi] add COSI driver helm chart (#267)

* add cosi driver helm chart

* add cosi specific linters

* remove go mod from cosi linters

* fix typos

* add cosi-ct-config.yaml

* change workflow name

* change log levels in cosi chart

* update actions

* change name from cosi-driver to cosi

* add kubelinter for all charts

* revert kubelinter

* change log levels in chart's template

---------

Co-authored-by: mtrajfacki-dell <115641731+mtrajfacki-dell@users.noreply.github.com>

* Revert "Adding CSI Powerstore driver’s effective pod security profile for supporting ephemeral volumes as part of Openshift 4.13 support (#261)" (#284)

This reverts commit c1dd93b.

* [charts/container-storage-modules]: Uncomment Resiliency arguments (#287)

* uncomment resiliency args

* fix spacing

* correct cosi log level setting (#288)

* [charts/container-storage-modules]: new keys added for PowerFlex driver (#286)

* PowerFlex new keys added

* NFS ACL parameter removed (#289)

* Adding new fields for powermax (#290)

* bumped csi-volumegroup-snapshotter version (#292)

* reset the CSM helm chart to main branch (#293)

* [feature-885]: Add workflow update to release branch (#297)

* Update CODEOWNERS (#238)

* add powerflex helm chart changes for v1.7.1. (#245)

* add powerflex helm chart changes for v1.7.1.

* add helm chart changes for v1.7.1 release. (#246)

* Skip existing releases (#272)

* updated helm-validations file (#243)

* Powerscale v2.8.0 release (#242)

* Powerscale v2.8.0 release

* Added suppoert container-storage-modules

* Added suppoert container-storage-modules

* recommiting branch due to checks not working

* dummy commit to trigger the checks

* StorageCapacityTracking feature changes (#236)

* Update _helpers.tpl

Added changes related to StorageCapacityTracking

* Update controller.yaml

Added changes related to StorageCapacityTracking

* Update csidriver.yaml

Added changes related to StorageCapacityTracking

* Update values.yaml

Added changes related to StorageCapacityTracking

* Update _helpers.tpl

Storage Capacity Tracking K8s 1.24.

* Update values.yaml

Changed the version to v1.24

* Update csidriver.yaml

Set the default value to false

* Update controller.yaml

Default value of the StorageCapacityTracking should be true

* Update csidriver.yaml

Default value should be true

* Update controller.yaml

Updated the controller file

* Update csidriver.yaml

Updated csidriver.yaml file

* Update controller.yaml

Done changes related to SCT

* csm-replication: Removed init container usage (#244)

* CSIUnity v2.8.0 release  (#248)

* Updated v2.8.0 unity driver version

* addressed review comments on values.yaml file update

* Added the Volumelimits for Powermax (#240)

Co-authored-by: Yamunadevi N Shanmugam <82038610+shanmydell@users.noreply.github.com>

* PowerFlex v2.8.0 release (#250)

* PowerFlex  SDC  updated (#251)

* Adding k8 28 support for powermax (#253)

* Adding K8s1.28 support for PowerFlex (#254)

* K8s 1.28 support unity (#255)

* support k8s v1.28

* support k8s v1.28

* minor typo fixed (#258)

* PowerScale k8s-1.28 support (#260)

* powerstore v2.8.0 & k8s 1.28 support (#262)

* Adding volume limits support for CSIPowerstore

* Adding volume limits support for CSIPowerstore
* Adding maxPowerstoreVolumesPerNode in values.yaml inside container-storage-modules

* Removed duplicate entry for X_CSI_DRIVER_NAME in node.yaml for CSI Powerstore (#273)

* update auth to 1.8 (#271)

* update auth to 1.8

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>

* Updating podmon to 1.7

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>

* Update Observability values file for Authorization sidecar image version

---------

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>
Co-authored-by: Alik Saring <alik.saring@dell.com>

* Update Authorization images version (#277)

* Updated replication controller/replicator/migrator/rescanner SC image versions for CSM v1.8.0 (#278)

* Updated csi-metadata-retriever version to 1.5.0 for CSI Powerstore (#280)

* Update Observability image versions for CSM 1.8. (#281)

* Adding CSI Powerstore driver’s effective pod security profile for supporting ephemeral volumes as part of Openshift 4.13 support (#261)

Co-authored-by: Surya Gupta <109594002+suryagupta4@users.noreply.github.com>

* removed externalAccess from powerflex manifests. (#283)

* [charts/cosi] add COSI driver helm chart (#267)

* add cosi driver helm chart

* add cosi specific linters

* remove go mod from cosi linters

* fix typos

* add cosi-ct-config.yaml

* change workflow name

* change log levels in cosi chart

* update actions

* change name from cosi-driver to cosi

* add kubelinter for all charts

* revert kubelinter

* change log levels in chart's template

---------

Co-authored-by: mtrajfacki-dell <115641731+mtrajfacki-dell@users.noreply.github.com>

* Revert "Adding CSI Powerstore driver’s effective pod security profile for supporting ephemeral volumes as part of Openshift 4.13 support (#261)" (#284)

This reverts commit c1dd93b.

* [charts/container-storage-modules]: Uncomment Resiliency arguments (#287)

* uncomment resiliency args

* fix spacing

* correct cosi log level setting (#288)

* [charts/container-storage-modules]: new keys added for PowerFlex driver (#286)

* PowerFlex new keys added

* NFS ACL parameter removed (#289)

* Adding new fields for powermax (#290)

* bumped csi-volumegroup-snapshotter version (#292)

* reset the CSM helm chart to main branch (#293)

---------

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>
Co-authored-by: Yamunadevi N Shanmugam <82038610+shanmydell@users.noreply.github.com>
Co-authored-by: VamsiSiddu-7 <103578883+VamsiSiddu-7@users.noreply.github.com>
Co-authored-by: chaganti-rajitha <111744573+chaganti-rajitha@users.noreply.github.com>
Co-authored-by: HarishH-DELL <109663924+HarishH-DELL@users.noreply.github.com>
Co-authored-by: tssushma <98810659+tssushma@users.noreply.github.com>
Co-authored-by: Santhosh Lakshmanan <111809751+santhoshatdell@users.noreply.github.com>
Co-authored-by: karthikk92 <92289639+karthikk92@users.noreply.github.com>
Co-authored-by: KshitijaKakde <111420075+KshitijaKakde@users.noreply.github.com>
Co-authored-by: boyamurthy <92081029+boyamurthy@users.noreply.github.com>
Co-authored-by: panigs7 <92028646+panigs7@users.noreply.github.com>
Co-authored-by: Rajshree Khare <69839943+khareRajshree@users.noreply.github.com>
Co-authored-by: Nitesh-Rewatkar <90749010+nitesh3108@users.noreply.github.com>
Co-authored-by: Surya Gupta <109594002+suryagupta4@users.noreply.github.com>
Co-authored-by: alankar-verma <125348121+alankar-verma@users.noreply.github.com>
Co-authored-by: aqu-dell <108017114+arnchiequ-dell@users.noreply.github.com>
Co-authored-by: Alik Saring <alik.saring@dell.com>
Co-authored-by: alikdell <52920355+alikdell@users.noreply.github.com>
Co-authored-by: Don Khan <don.khan@dell.com>
Co-authored-by: mdutka-dell <115641913+mdutka-dell@users.noreply.github.com>
Co-authored-by: mtrajfacki-dell <115641731+mtrajfacki-dell@users.noreply.github.com>
Co-authored-by: shaynafinocchiaro <66699024+shaynafinocchiaro@users.noreply.github.com>
Co-authored-by: Rishabh Raj <120644626+rishabhatdell@users.noreply.github.com>
Co-authored-by: Niranjan N <110103643+niranjan-n1@users.noreply.github.com>

---------

Signed-off-by: arnchiequ-dell <arnchie.qu@dell.com>
Co-authored-by: chaganti-rajitha <111744573+chaganti-rajitha@users.noreply.github.com>
Co-authored-by: HarishH-DELL <109663924+HarishH-DELL@users.noreply.github.com>
Co-authored-by: tssushma <98810659+tssushma@users.noreply.github.com>
Co-authored-by: Santhosh Lakshmanan <111809751+santhoshatdell@users.noreply.github.com>
Co-authored-by: karthikk92 <92289639+karthikk92@users.noreply.github.com>
Co-authored-by: Yamunadevi N Shanmugam <82038610+shanmydell@users.noreply.github.com>
Co-authored-by: KshitijaKakde <111420075+KshitijaKakde@users.noreply.github.com>
Co-authored-by: boyamurthy <92081029+boyamurthy@users.noreply.github.com>
Co-authored-by: panigs7 <92028646+panigs7@users.noreply.github.com>
Co-authored-by: Rajshree Khare <69839943+khareRajshree@users.noreply.github.com>
Co-authored-by: Nitesh-Rewatkar <90749010+nitesh3108@users.noreply.github.com>
Co-authored-by: Surya Gupta <109594002+suryagupta4@users.noreply.github.com>
Co-authored-by: alankar-verma <125348121+alankar-verma@users.noreply.github.com>
Co-authored-by: aqu-dell <108017114+arnchiequ-dell@users.noreply.github.com>
Co-authored-by: Alik Saring <alik.saring@dell.com>
Co-authored-by: alikdell <52920355+alikdell@users.noreply.github.com>
Co-authored-by: Don Khan <don.khan@dell.com>
Co-authored-by: Niranjan N <110103643+niranjan-n1@users.noreply.github.com>
Co-authored-by: VamsiSiddu-7 <103578883+VamsiSiddu-7@users.noreply.github.com>
Co-authored-by: mdutka-dell <115641913+mdutka-dell@users.noreply.github.com>
Co-authored-by: mtrajfacki-dell <115641731+mtrajfacki-dell@users.noreply.github.com>
Co-authored-by: shaynafinocchiaro <66699024+shaynafinocchiaro@users.noreply.github.com>
Co-authored-by: Rishabh Raj <120644626+rishabhatdell@users.noreply.github.com>
  • Loading branch information
1 parent 4e61279 commit 3923bc7
Show file tree
Hide file tree
Showing 45 changed files with 982 additions and 138 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/helm-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main
- karavi-observability-release
- csm-authorization-release
- release-v1.7.0
- release-v*

jobs:
# This job will check to see if any .yaml file is modified
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/kubelinter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: COSI driver

on:
push:
branches: [main]
pull_request:
branches: ["**"]

env:
GOPRIVATE: github.com/dell/*
TOKEN: ${{ secrets.GH_DELL_ACCESS }}

jobs:
kube-linter:
name: Kube Linter
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
run: |
git config --global url."https://csmbot:$TOKEN@github.com".insteadOf "https://github.com"
echo "machine github.com login csmbot password $TOKEN" >> ~/.netrc
- name: Checkout the code
uses: actions/checkout@v3.6.0
- name: Scan repo with kube-linter
uses: stackrox/kube-linter-action@v1.0.4
with:
directory: charts/cosi
config: kubelinter-config.yaml

36 changes: 36 additions & 0 deletions charts/cosi/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright © 2023 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License

apiVersion: v2
name: cosi
description: Container Object Storage Interface (COSI) Driver for Dell ObjectScale

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 1.0.0-alpha
5 changes: 5 additions & 0 deletions charts/cosi/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Thank you for installing {{ .Chart.Name }}.

Your release is named {{ .Release.Name }}.

For more information visit CSM documentation: https://dell.github.io/csm-docs/
193 changes: 193 additions & 0 deletions charts/cosi/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "cosi.name" }}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "cosi.fullname" }}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "cosi.chart" }}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
# COSI driver log level
# Values are set to the integer value, higher value means more verbose logging
# Possible values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
# Default value: 4
*/}}
{{- define "cosi.logLevel" }}
{{- if (kindIs "int64" .Values.provisioner.logLevel) }}
{{- if (or (ge .Values.provisioner.logLevel 0) (le .Values.provisioner.logLevel 10)) }}
{{- .Values.provisioner.logLevel }}
{{- else }}
{{- 4 }}
{{- end }}
{{- else }}
{{- 4 }}
{{- end }}
{{- end }}

{{/*
# COSI driver sidecar log level
# Values are set to the integer value, higher value means more verbose logging
# Possible values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
# Default value: 4
*/}}
{{- define "cosi.provisionerSidecarVerbosity" }}
{{- if (kindIs "int64" .Values.sidecar.verbosity) }}
{{- if (or (ge .Values.sidecar.verbosity 0) (le .Values.sidecar.verbosity 10)) }}
{{- .Values.sidecar.verbosity }}
{{- else }}
{{- 4 }}
{{- end }}
{{- else }}
{{- 4 }}
{{- end }}
{{- end }}

{{/*
# COSI driver log format
# Possible values: "json" "text"
# Default value: "json"
*/}}
{{- define "cosi.logFormat" }}
{{- $logFormatValues := list "json" "text" }}
{{- if (has .Values.provisioner.logFormat $logFormatValues) }}
{{- .Values.provisioner.logFormat }}
{{- else }}
{{- "text" }}
{{- end }}
{{- end }}

{{/*
# COSI driver OTEL endpoint
# Default value is left empty on purpose, to not start any tracing if no argument was provided.
# Default value: ""
*/}}
{{- define "cosi.otelEndpoint" }}
{{- if .Values.provisioner.otelEndpoint }}
{{- .Values.provisioner.otelEndpoint }}
{{- else }}
{{- "" }}
{{- end }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "cosi.labels" }}
helm.sh/chart: {{ include "cosi.chart" . }}
{{- include "cosi.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

{{/*
Selector labels
*/}}
{{- define "cosi.selectorLabels" }}
app.kubernetes.io/name: {{ include "cosi.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Create the name of the role to use
*/}}
{{- define "cosi.roleName" }}
{{- if and .Values.rbac.create }}
{{- default (printf "%s" (include "cosi.fullname" .)) .Values.rbac.role.name }}
{{- else }}
{{- .Values.rbac.role.name }}
{{- end }}
{{- end }}

{{/*
Create the name of the role binding to use
*/}}
{{- define "cosi.roleBindingName" }}
{{- if and .Values.rbac.create }}
{{- default (printf "%s" (include "cosi.fullname" .)) .Values.rbac.roleBinding.name }}
{{- else }}
{{- .Values.rbac.roleBinding.name }}
{{- end }}
{{- end }}

{{/*
Create the name of the service account to use
*/}}
{{- define "cosi.serviceAccountName" -}}
{{- if .Values.serviceAccount.create -}}
{{ default (include "cosi.fullname" .) .Values.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}

{{/*
Create the name of provisioner container
*/}}
{{- define "cosi.provisionerContainerName" }}
{{- default "objectstorage-provisioner" .Values.provisioner.name }}
{{- end }}

{{/*
Create the name of provisioner sidecar container
*/}}
{{- define "cosi.provisionerSidecarContainerName" }}
{{- default "objectstorage-provisioner-sidecar" .Values.sidecar.name }}
{{- end }}

{{/*
Create the full name of provisioner image from repository and tag
*/}}
{{- define "cosi.provisionerImageName" }}
{{- .Values.provisioner.image.repository }}:{{ .Values.provisioner.image.tag | default .Chart.AppVersion }}
{{- end }}

{{/*
Create the full name of provisioner sidecar image from repository and tag
*/}}
{{- define "cosi.provisionerSidecarImageName" }}
{{- .Values.sidecar.image.repository }}:{{ .Values.sidecar.image.tag }}
{{- end }}

{{/*
Create the secret name
*/}}
{{- define "cosi.secretName" }}
{{- if .Values.configuration.create }}
{{- default (printf "%s-config" (include "cosi.name" . )) .Values.configuration.secretName }}
{{- else }}
{{- .Values.configuration.secretName }}
{{- end }}
{{- end }}

{{/*
Create the name for secret volume
*/}}
{{- define "cosi.secretVolumeName" }}
{{- printf "%s-config" (include "cosi.name" . ) }}
{{- end }}
90 changes: 90 additions & 0 deletions charts/cosi/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "cosi.fullname" . }}
labels:
{{- include "cosi.labels" . | trim | nindent 4 }}
{{- with .Values.rbac.role.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "cosi.selectorLabels" . | trim | nindent 6 }}
template:
metadata:
labels:
{{- include "cosi.labels" . | trim | nindent 8 }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "cosi.serviceAccountName" . }}
{{- with .Values.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "cosi.provisionerContainerName" . }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
image: {{ include "cosi.provisionerImageName" . }}
imagePullPolicy: {{ .Values.provisioner.image.pullPolicy }}
args:
- "--log-level={{ include "cosi.logLevel" . }}"
- "--log-format={{ include "cosi.logFormat" . }}"
- "--otel-endpoint={{ include "cosi.otelEndpoint" . }}"
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: {{ include "cosi.secretVolumeName" . }}
mountPath: /cosi
- name: cosi-socket-dir
mountPath: /var/lib/cosi
- name: {{ include "cosi.provisionerSidecarContainerName" . }}
image: {{ include "cosi.provisionerSidecarImageName" . }}
imagePullPolicy: {{ .Values.sidecar.image.pullPolicy }}
args:
- "-v={{ include "cosi.provisionerSidecarVerbosity" . }}"
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: cosi-socket-dir
mountPath: /var/lib/cosi
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: {{ include "cosi.secretVolumeName" . }}
secret:
secretName: {{ include "cosi.secretName" . }}
- name: cosi-socket-dir
emptyDir: {}
Loading

0 comments on commit 3923bc7

Please sign in to comment.