diff --git a/solutions/cncf-generated/knative/knative-5306-allow-runtimeclassname-and-dnspolicy-in-service-template-spec.json b/solutions/cncf-generated/knative/knative-5306-allow-runtimeclassname-and-dnspolicy-in-service-template-spec.json new file mode 100644 index 00000000..8541d725 --- /dev/null +++ b/solutions/cncf-generated/knative/knative-5306-allow-runtimeclassname-and-dnspolicy-in-service-template-spec.json @@ -0,0 +1,79 @@ +{ + "version": "kc-mission-v1", + "name": "knative-5306-allow-runtimeclassname-and-dnspolicy-in-service-template-spec", + "missionClass": "solution", + "author": "KubeStellar Bot", + "authorGithub": "kubestellar", + "mission": { + "title": "knative: Allow runtimeClassName and dnsPolicy in service template spec", + "description": "Allow runtimeClassName and dnsPolicy in service template spec. Community-requested feature.", + "type": "feature", + "status": "completed", + "steps": [ + { + "title": "Check current knative deployment", + "description": "Verify your knative version and configuration:\n```bash\nkubectl get pods -n knative -l app.kubernetes.io/name=knative\nhelm list -n knative 2>/dev/null || echo \"Not installed via Helm\"\n```\nThis feature requires a working knative installation." + }, + { + "title": "Review knative configuration", + "description": "Inspect the relevant knative configuration:\n```bash\nkubectl get all -n knative -l app.kubernetes.io/name=knative\nkubectl get configmap -n knative -l app.kubernetes.io/part-of=knative\n```\n## In what area(s)?\r\r\n\n## Describe the feature\n\nAllow `runtimeClassName` and `dnsPolicy` fields in the service template spec (currently disallowed" + }, + { + "title": "Apply the fix for Allow runtimeClassName and dnsPolicy in service template…", + "description": "Allow users to set runtimeClassName on services via the runtimeclassname\nfeature flag.\n\nIssue #5306\n\n**Release Note**\n```yaml\nspec:\n runtimeClassName: 'kata-qemu' # or 'runsc' (gvisor)\n dnsPolicy: 'Default'\n ...\n```" + }, + { + "title": "Verify the feature works", + "description": "Test that the new capability is working as expected:\n```bash\nkubectl get pods -n knative -l app.kubernetes.io/name=knative\nkubectl get events -n knative --sort-by='.lastTimestamp' | tail -10\n```\nConfirm the feature described in \"Allow runtimeClassName and dnsPolicy in service template…\" is functioning correctly." + } + ], + "resolution": { + "summary": "Allow users to set runtimeClassName on services via the runtimeclassname\nfeature flag.\n\nIssue #5306\n\n**Release Note**", + "codeSnippets": [ + "spec:\n runtimeClassName: 'kata-qemu' # or 'runsc' (gvisor)\n dnsPolicy: 'Default'\n ...", + "annotations:\n io.kubernetes.cri.untrusted-workload: \"true\"" + ] + } + }, + "metadata": { + "tags": [ + "knative", + "graduated", + "app-definition", + "feature" + ], + "cncfProjects": [ + "knative" + ], + "targetResourceKinds": [ + "Pod", + "Service" + ], + "difficulty": "intermediate", + "issueTypes": [ + "feature" + ], + "maturity": "graduated", + "sourceUrls": { + "issue": "https://github.com/knative/serving/issues/5306", + "repo": "https://github.com/knative/serving", + "pr": "https://github.com/knative/serving/pull/9072" + }, + "reactions": 4, + "comments": 10, + "synthesizedBy": "copilot" + }, + "prerequisites": { + "kubernetes": ">=1.24", + "tools": [ + "kubectl" + ], + "description": "A running Kubernetes cluster with knative installed or the issue environment reproducible." + }, + "security": { + "scannedAt": "2026-03-19T06:26:06.610Z", + "scannerVersion": "cncf-gen-3.0.0", + "sanitized": true, + "findings": [] + } +}