diff --git a/hack/charts/cluster-api-operator/templates/addon.yaml b/hack/charts/cluster-api-operator/templates/addon.yaml index 4fde8f77c..95e646219 100644 --- a/hack/charts/cluster-api-operator/templates/addon.yaml +++ b/hack/charts/cluster-api-operator/templates/addon.yaml @@ -45,6 +45,7 @@ spec: diagnosticsAddress: {{- $addon.manager.metrics.diagnosticsAddress }} {{- end }} {{- end }} + verbosity: {{ default 1 $addon.manager.verbosity }} {{- end }} {{- if $addonVersion }} version: {{ $addonVersion }} diff --git a/hack/charts/cluster-api-operator/templates/bootstrap.yaml b/hack/charts/cluster-api-operator/templates/bootstrap.yaml index 2896612f2..77c0db6e7 100644 --- a/hack/charts/cluster-api-operator/templates/bootstrap.yaml +++ b/hack/charts/cluster-api-operator/templates/bootstrap.yaml @@ -51,6 +51,7 @@ spec: diagnosticsAddress: {{- $bootstrap.manager.metrics.diagnosticsAddress }} {{- end }} {{- end }} + verbosity: {{ default 1 $bootstrap.manager.verbosity }} {{- end }} {{- if $bootstrapVersion }} version: {{ $bootstrapVersion }} diff --git a/hack/charts/cluster-api-operator/templates/control-plane.yaml b/hack/charts/cluster-api-operator/templates/control-plane.yaml index 0db529110..1233961f4 100644 --- a/hack/charts/cluster-api-operator/templates/control-plane.yaml +++ b/hack/charts/cluster-api-operator/templates/control-plane.yaml @@ -54,6 +54,7 @@ spec: diagnosticsAddress: {{- $controlPlane.manager.metrics.diagnosticsAddress }} {{- end }} {{- end }} + verbosity: {{ default 1 $controlPlane.manager.verbosity }} {{- end }} {{- if (default (($controlPlane).configSecret).name (($.Values).configSecret).name) }} {{- include "capi-operator.configSecret" (dict "ROOT" $ "ARGUMENT" $controlPlane) | nindent 2 }} diff --git a/hack/charts/cluster-api-operator/templates/core.yaml b/hack/charts/cluster-api-operator/templates/core.yaml index 0ddcea7df..a8989566b 100644 --- a/hack/charts/cluster-api-operator/templates/core.yaml +++ b/hack/charts/cluster-api-operator/templates/core.yaml @@ -54,6 +54,7 @@ spec: diagnosticsAddress: {{- $core.manager.metrics.diagnosticsAddress }} {{- end }} {{- end }} + verbosity: {{ default 1 $core.manager.verbosity }} {{- end }} {{- if (default (($core).configSecret).name (($.Values).configSecret).name) }} {{- include "capi-operator.configSecret" (dict "ROOT" $ "ARGUMENT" $core) | nindent 2 }} diff --git a/hack/charts/cluster-api-operator/templates/infra.yaml b/hack/charts/cluster-api-operator/templates/infra.yaml index 70ac0bc8e..0ce621bd5 100644 --- a/hack/charts/cluster-api-operator/templates/infra.yaml +++ b/hack/charts/cluster-api-operator/templates/infra.yaml @@ -54,6 +54,7 @@ spec: diagnosticsAddress: {{- $infra.manager.metrics.diagnosticsAddress }} {{- end }} {{- end }} + verbosity: {{ default 1 $infra.manager.verbosity }} {{- end }} {{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $infrastructureName) }} {{- range $key, $value := $.Values.fetchConfig }} diff --git a/hack/charts/cluster-api-operator/templates/ipam.yaml b/hack/charts/cluster-api-operator/templates/ipam.yaml index aff4b0d9a..bfeec372b 100644 --- a/hack/charts/cluster-api-operator/templates/ipam.yaml +++ b/hack/charts/cluster-api-operator/templates/ipam.yaml @@ -54,6 +54,7 @@ spec: diagnosticsAddress: {{- $ipam.manager.metrics.diagnosticsAddress }} {{- end }} {{- end }} + verbosity: {{ default 1 $ipam.manager.verbosity }} {{- end }} {{- if and (kindIs "map" $.Values.fetchConfig) (hasKey $.Values.fetchConfig $ipamName) }} {{- range $key, $value := $.Values.fetchConfig }} diff --git a/hack/charts/cluster-api-operator/values.yaml b/hack/charts/cluster-api-operator/values.yaml index 58ec77990..dea3d7e42 100644 --- a/hack/charts/cluster-api-operator/values.yaml +++ b/hack/charts/cluster-api-operator/values.yaml @@ -20,6 +20,7 @@ core: {} # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080 +# verbosity: 1 bootstrap: {} # kubeadm: {} # Name, required # namespace: "" # Optional @@ -40,6 +41,7 @@ bootstrap: {} # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080 +# verbosity: 1 controlPlane: {} # kubeadm: {} # Name, required # namespace: "" # Optional @@ -59,6 +61,7 @@ controlPlane: {} # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080 +# verbosity: 1 infrastructure: {} # docker: {} # Name, required # namespace: "" # Optional @@ -78,6 +81,7 @@ infrastructure: {} # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080 +# verbosity: 1 addon: {} # helm: {} # Name, required # namespace: "" # Optional @@ -95,6 +99,7 @@ addon: {} # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080 +# verbosity: 1 ipam: {} # in-cluster: {} # Name, required # namespace: "" # Optional @@ -114,6 +119,7 @@ ipam: {} # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080 +# verbosity: 1 fetchConfig: {} # --- # Common configuration secret options