Current configuration for the ScaleIO Kubernetes Secret object defaults to use the namespace of the PV or PodSpec where it is used. This forces the use of secret which may not be intended for users. This proposal introduces a new Spec parameter called SecretNamespace to specify the namespace of the secret referenced in the spec. For instance, assuming your k8s cluster has a namespace called sio_namespace, the following sample config would apply.
Current configuration for the ScaleIO Kubernetes Secret object defaults to use the namespace of the PV or PodSpec where it is used. This forces the use of secret which may not be intended for users. This proposal introduces a new Spec parameter called
SecretNamespace
to specify the namespace of the secret referenced in the spec. For instance, assuming your k8s cluster has a namespace calledsio_namespace
, the following sample config would apply.Using a Spec
Using a StorageClass
secretNamspace
is not provided, the PV's namespace is assumed.