Timoni is awesome, but when I use Talos and want to create a local-storage-bundle, I need a namespace that has a label:
"pod-security.kubernetes.io/enforce": "privileged"
How is it possible to maybe add that as an option to the namespace parameter in the instance?
I would expect it to be:
namespace: {
name: "local-path-storage"
labels: {
"pod-security.kubernetes.io/enforce": "privileged"
}
}
Below is the complete bundle definition for local-path-storage and provisioner, which includes the creation of a namespace with the required label if it does not already exist:
// Bundle definition for local-path-storage and provisioner
bundle: {
apiVersion: "v1alpha1"
name: "local-storage-bundle"
instances: {
// Helm release for local-path-provisioner
"local-path-provisioner": {
module: {
url: "oci://ghcr.io/stefanprodan/modules/flux-helm-release"
version: "latest"
}
namespace: {
name: "local-path-storage"
labels: {
"pod-security.kubernetes.io/enforce": "privileged"
}
}
values: {
repository: {
url: "https://charts.containeroo.ch"
}
chart: {
name: "local-path-provisioner"
version: "0.0.31"
}
helmValues: {
nodePathMap: [
{
node: "DEFAULT_PATH_FOR_NON_LISTED_NODES"
paths: ["/var/local-path-provisioner"]
}
]
storageClass: {
name: "local-path"
defaultClass: true
}
}
}
}
}
}
Timoni is awesome, but when I use Talos and want to create a
local-storage-bundle, I need a namespace that has a label:How is it possible to maybe add that as an option to the namespace parameter in the instance?
I would expect it to be:
Below is the complete bundle definition for
local-path-storageand provisioner, which includes the creation of a namespace with the required label if it does not already exist: