Closed maxyeg86 closed 7 months ago
Hey @maxyeg86, just to be sure: Did you patch the spod like outlined there: https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/installation-usage.md#set-a-custom-priority-class-name-for-spod-daemon-pod ?
Hi @saschagrunert Yes, I did patch the spod and it indeed works but the goal is to be able to install it using helm in one go and without patching. I wanted to do it by changing the default priorityClassName but it doesn't seems to work
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What happened:
When running
kubectl apply -f operator.yaml
while part of the operator.yaml looks like this (default high-priority instead of system-node-critical):The default priorityClassName is ignored and the spod is created with
priorityClassName: system-node-critical
What you expected to happen:
The expected behavior is that the spod will be created with the default priorityClassName as defined in the operator.yaml
How to reproduce it (as minimally and precisely as possible):
Files involved:
priority-class.yaml:
operator.yaml (The same exact file as in the git repo except for
default: high-priority
instead ofdefault: system-node-critical
):Anything else we need to know?:
Probably happens because of a hard coded value here but not sure.
Environment:
cat /etc/os-release
): Ubuntuuname -a
): N/A