Skip to content

Commit

Permalink
Updated the comments with proper default values of parameter in sampl…
Browse files Browse the repository at this point in the history
…e files. (#817)

* modify default values in sample files

* modify default values in sample files

* updated default value of replicas
  • Loading branch information
chimanjain authored Dec 9, 2024
1 parent 0ac2419 commit 63c4d8e
Show file tree
Hide file tree
Showing 15 changed files with 123 additions and 3 deletions.
12 changes: 12 additions & 0 deletions samples/storage_csm_powerflex_v2101.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
# false: disable storage capacity tracking
storageCapacity: true
configVersion: v2.10.1
# Controller count
# Allowed values: n, where n > 0
# Default value: 1
replicas: 1
dnsPolicy: ClusterFirstWithHostNet
forceUpdate: false
Expand Down Expand Up @@ -45,6 +48,7 @@ spec:
# 'k8s' represents a string prepended to each volume created by the CSI driver
- name: provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0
# Default volume-name-prefix: k8s
args: ["--volume-name-prefix=k8s"]
- name: attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
Expand All @@ -67,6 +71,7 @@ spec:
value: "10.xx.xx.xx,10.xx.xx.xx" # do not add mdm value here if it is present in secret
# health monitor is disabled by default, refer to driver documentation before enabling it
# Also set the env variable controller.envs.X_CSI_HEALTH_MONITOR_ENABLED to "true".
# Default monitor-interval: 60s
- name: csi-external-health-monitor-controller
enabled: false
args: ["--monitor-interval=60s"]
Expand Down Expand Up @@ -190,26 +195,31 @@ spec:
# Authorization: enable csm-authorization for RBAC
- name: authorization
# enable: Enable/Disable csm-authorization
# Default value: false
enabled: false
configVersion: v1.10.1
components:
- name: karavi-authorization-proxy
image: docker.io/dellemc/csm-authorization-sidecar:v1.10.1
envs:
# proxyHost: hostname of the csm-authorization server
# Default value: none
- name: "PROXY_HOST"
value: "csm-authorization.com"
# skipCertificateValidation: Enable/Disable certificate validation of the csm-authorization server
# Default value: "true"
- name: "SKIP_CERTIFICATE_VALIDATION"
value: "true"
# observability: allows to configure observability
- name: observability
# enabled: Enable/Disable observability
# Default value: false
enabled: false
configVersion: v1.8.1
components:
- name: topology
# enabled: Enable/Disable topology
# Default value: false
enabled: false
# image: Defines karavi-topology image. This shouldn't be changed
# Allowed values: string
Expand All @@ -230,6 +240,7 @@ spec:
value: "INFO"
- name: otel-collector
# enabled: Enable/Disable OpenTelemetry Collector
# Default value: false
enabled: false
# image: Defines otel-collector image. This shouldn't be changed
# Allowed values: string
Expand Down Expand Up @@ -257,6 +268,7 @@ spec:
enabled: false
- name: metrics-powerflex
# enabled: Enable/Disable PowerFlex metrics
# Default value: false
enabled: false
# image: Defines PowerFlex metrics image. This shouldn't be changed
image: docker.io/dellemc/csm-metrics-powerflex:v1.8.1
Expand Down
12 changes: 12 additions & 0 deletions samples/storage_csm_powerflex_v2110.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
# false: disable storage capacity tracking
storageCapacity: true
configVersion: v2.11.0
# Controller count
# Allowed values: n, where n > 0
# Default value: 1
replicas: 1
dnsPolicy: ClusterFirstWithHostNet
forceUpdate: false
Expand Down Expand Up @@ -45,6 +48,7 @@ spec:
# 'k8s' represents a string prepended to each volume created by the CSI driver
- name: provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
# Default volume-name-prefix: k8s
args: ["--volume-name-prefix=k8s"]
- name: attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1
Expand All @@ -67,6 +71,7 @@ spec:
value: "10.xx.xx.xx,10.xx.xx.xx" # do not add mdm value here if it is present in secret
# health monitor is disabled by default, refer to driver documentation before enabling it
# Also set the env variable controller.envs.X_CSI_HEALTH_MONITOR_ENABLED to "true".
# Default monitor-interval: 60s
- name: csi-external-health-monitor-controller
enabled: false
args: ["--monitor-interval=60s"]
Expand Down Expand Up @@ -190,6 +195,7 @@ spec:
# Authorization: enable csm-authorization for RBAC
- name: authorization
# enable: Enable/Disable csm-authorization
# Default value: false
enabled: false
# For PowerFlex Tech-Preview v2.0.0-alpha use v1.11.0 as configVersion.
# Do not change the configVersion to v2.0.0-alpha
Expand All @@ -200,19 +206,23 @@ spec:
image: docker.io/dellemc/csm-authorization-sidecar:v1.11.0
envs:
# proxyHost: hostname of the csm-authorization server
# Default value: none
- name: "PROXY_HOST"
value: "csm-authorization.com"
# skipCertificateValidation: Enable/Disable certificate validation of the csm-authorization server
# Default value: "true"
- name: "SKIP_CERTIFICATE_VALIDATION"
value: "true"
# observability: allows to configure observability
- name: observability
# enabled: Enable/Disable observability
# Default value: false
enabled: false
configVersion: v1.9.0
components:
- name: topology
# enabled: Enable/Disable topology
# Default value: false
enabled: false
# image: Defines karavi-topology image. This shouldn't be changed
# Allowed values: string
Expand All @@ -233,6 +243,7 @@ spec:
value: "INFO"
- name: otel-collector
# enabled: Enable/Disable OpenTelemetry Collector
# Default value: false
enabled: false
# image: Defines otel-collector image. This shouldn't be changed
# Allowed values: string
Expand Down Expand Up @@ -260,6 +271,7 @@ spec:
enabled: false
- name: metrics-powerflex
# enabled: Enable/Disable PowerFlex metrics
# Default value: false
enabled: false
# image: Defines PowerFlex metrics image. This shouldn't be changed
image: docker.io/dellemc/csm-metrics-powerflex:v1.9.0
Expand Down
12 changes: 12 additions & 0 deletions samples/storage_csm_powerflex_v2120.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
# false: disable storage capacity tracking
storageCapacity: true
configVersion: v2.12.0
# Controller count
# Allowed values: n, where n > 0
# Default value: 1
replicas: 1
dnsPolicy: ClusterFirstWithHostNet
forceUpdate: false
Expand Down Expand Up @@ -52,6 +55,7 @@ spec:
# 'k8s' represents a string prepended to each volume created by the CSI driver
- name: provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v5.1.0
# Default volume-name-prefix: k8s
args: ["--volume-name-prefix=k8s"]
- name: attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.7.0
Expand All @@ -74,6 +78,7 @@ spec:
value: "10.xx.xx.xx,10.xx.xx.xx" # do not add mdm value here if it is present in secret
# health monitor is disabled by default, refer to driver documentation before enabling it
# Also set the env variable controller.envs.X_CSI_HEALTH_MONITOR_ENABLED to "true".
# Default monitor-interval: 60s
- name: csi-external-health-monitor-controller
enabled: false
args: ["--monitor-interval=60s"]
Expand Down Expand Up @@ -204,6 +209,7 @@ spec:
# Authorization: enable csm-authorization for RBAC
- name: authorization
# enabled: Enable/Disable csm-authorization
# Default value: false
enabled: false
# For PowerFlex Tech-Preview v2.0.0-alpha use v1.11.0 as configVersion.
# Do not change the configVersion to v2.0.0-alpha
Expand All @@ -214,19 +220,23 @@ spec:
image: quay.io/dell/container-storage-modules/csm-authorization-sidecar:v1.12.0
envs:
# proxyHost: hostname of the csm-authorization server
# Default value: none
- name: "PROXY_HOST"
value: "csm-authorization.com"
# skipCertificateValidation: Enable/Disable certificate validation of the csm-authorization server
# Default value: "true"
- name: "SKIP_CERTIFICATE_VALIDATION"
value: "true"
# observability: allows to configure observability
- name: observability
# enabled: Enable/Disable observability
# Default value: false
enabled: false
configVersion: v1.10.0
components:
- name: topology
# enabled: Enable/Disable topology
# Default value: false
enabled: false
# image: Defines karavi-topology image. This shouldn't be changed
# Allowed values: string
Expand All @@ -247,6 +257,7 @@ spec:
value: "INFO"
- name: otel-collector
# enabled: Enable/Disable OpenTelemetry Collector
# Default value: false
enabled: false
# image: Defines otel-collector image. This shouldn't be changed
# Allowed values: string
Expand Down Expand Up @@ -274,6 +285,7 @@ spec:
enabled: false
- name: metrics-powerflex
# enabled: Enable/Disable PowerFlex metrics
# Default value: false
enabled: false
# image: Defines PowerFlex metrics image. This shouldn't be changed
image: quay.io/dell/container-storage-modules/csm-metrics-powerflex:v1.10.0
Expand Down
12 changes: 11 additions & 1 deletion samples/storage_csm_powermax_v2101.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ spec:
configVersion: v2.10.1
# replica: Define the number of PowerMax controller nodes
# to deploy to the Kubernetes release
# Controller count
# Allowed values: n, where n > 0
# Default value: None
# Default value: 2
replicas: 2
# Default credential secret for Powermax, if not set it to ""
authSecret: powermax-creds
Expand Down Expand Up @@ -223,6 +224,7 @@ spec:
# 'pmax' represents a string prepended to each volume created by the CSI driver
- name: provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v4.0.0
# Default volume-name-prefix: pmax
args: ["--volume-name-prefix=pmax"]
- name: attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.5.0
Expand All @@ -235,6 +237,7 @@ spec:
- name: csi-metadata-retriever
image: docker.io/dellemc/csi-metadata-retriever:v1.7.3
# health monitor is disabled by default, refer to driver documentation before enabling it
# Default monitor-interval: 60s
- name: external-health-monitor
enabled: false
args: ["--monitor-interval=60s"]
Expand Down Expand Up @@ -276,16 +279,19 @@ spec:
# Authorization: enable csm-authorization for RBAC
- name: authorization
# enabled: Enable/Disable csm-authorization
# Default value: false
enabled: false
configVersion: v1.10.1
components:
- name: karavi-authorization-proxy
image: docker.io/dellemc/csm-authorization-sidecar:v1.10.1
envs:
# proxyHost: hostname of the csm-authorization server
# Default value: none
- name: "PROXY_HOST"
value: "csm-authorization.com"
# skipCertificateValidation: Enable/Disable certificate validation of the csm-authorization server
# Default value: "true"
- name: "SKIP_CERTIFICATE_VALIDATION"
value: "true"
# Replication: allows configuring replication module
Expand Down Expand Up @@ -347,11 +353,13 @@ spec:
# observability: allows to configure observability
- name: observability
# enabled: Enable/Disable observability
# Default value: false
enabled: false
configVersion: v1.8.1
components:
- name: topology
# enabled: Enable/Disable topology
# Default value: false
enabled: false
# image: Defines karavi-topology image. This shouldn't be changed
# Allowed values: string
Expand All @@ -372,6 +380,7 @@ spec:
value: "INFO"
- name: otel-collector
# enabled: Enable/Disable OpenTelemetry Collector
# Default value: false
enabled: false
# image: Defines otel-collector image. This shouldn't be changed
# Allowed values: string
Expand Down Expand Up @@ -399,6 +408,7 @@ spec:
enabled: false
- name: metrics-powermax
# enabled: Enable/Disable PowerMax metrics
# Default value: false
enabled: false
# image: Defines PowerMax metrics image. This shouldn't be changed
image: docker.io/dellemc/csm-metrics-powermax:v1.3.1
Expand Down
12 changes: 11 additions & 1 deletion samples/storage_csm_powermax_v2110.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ spec:
configVersion: v2.11.0
# replica: Define the number of PowerMax controller nodes
# to deploy to the Kubernetes release
# Controller count
# Allowed values: n, where n > 0
# Default value: None
# Default value: 2
replicas: 2
# Default credential secret for Powermax, if not set it to ""
authSecret: powermax-creds
Expand Down Expand Up @@ -233,6 +234,7 @@ spec:
# 'pmax' represents a string prepended to each volume created by the CSI driver
- name: provisioner
image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1
# Default volume-name-prefix: pmax
args: ["--volume-name-prefix=pmax"]
- name: attacher
image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1
Expand All @@ -245,6 +247,7 @@ spec:
- name: csi-metadata-retriever
image: docker.io/dellemc/csi-metadata-retriever:v1.8.0
# health monitor is disabled by default, refer to driver documentation before enabling it
# Default monitor-interval: 60s
- name: external-health-monitor
enabled: false
args: ["--monitor-interval=60s"]
Expand Down Expand Up @@ -285,16 +288,19 @@ spec:
# Authorization: enable csm-authorization for RBAC
- name: authorization
# enabled: Enable/Disable csm-authorization
# Default value: false
enabled: false
configVersion: v1.11.0
components:
- name: karavi-authorization-proxy
image: docker.io/dellemc/csm-authorization-sidecar:v1.11.0
envs:
# proxyHost: hostname of the csm-authorization server
# Default value: none
- name: "PROXY_HOST"
value: "csm-authorization.com"
# skipCertificateValidation: Enable/Disable certificate validation of the csm-authorization server
# Default value: "true"
- name: "SKIP_CERTIFICATE_VALIDATION"
value: "true"
# Replication: allows configuring replication module
Expand Down Expand Up @@ -356,11 +362,13 @@ spec:
# observability: allows to configure observability
- name: observability
# enabled: Enable/Disable observability
# Default value: false
enabled: false
configVersion: v1.9.0
components:
- name: topology
# enabled: Enable/Disable topology
# Default value: false
enabled: false
# image: Defines karavi-topology image. This shouldn't be changed
# Allowed values: string
Expand All @@ -381,6 +389,7 @@ spec:
value: "INFO"
- name: otel-collector
# enabled: Enable/Disable OpenTelemetry Collector
# Default value: false
enabled: false
# image: Defines otel-collector image. This shouldn't be changed
# Allowed values: string
Expand Down Expand Up @@ -408,6 +417,7 @@ spec:
enabled: false
- name: metrics-powermax
# enabled: Enable/Disable PowerMax metrics
# Default value: false
enabled: false
# image: Defines PowerMax metrics image. This shouldn't be changed
image: docker.io/dellemc/csm-metrics-powermax:v1.4.0
Expand Down
Loading

0 comments on commit 63c4d8e

Please sign in to comment.