Skip to content

Conversation

@juhyeon-cha
Copy link

Pull Request Template for Kubeflow Manifests

✏️ Summary of Changes

The problem is that all NetworkPolicies are being created in the kubeflow namespace because the namespace value is present in kustomization.yaml.

✅ Contributor Checklist

  • I have tested these changes with kustomize. See Installation Prerequisites.
  • All commits are signed-off to satisfy the DCO check.
  • I have considered adding my company to the adopters page to support Kubeflow and help the community, since I expect help from the community for my issue (see 1. and 2.).

You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-platform.

@juhyeon-cha
Copy link
Author

@juliusvonkohout Until recently, common/networkpolicies only contained policies for the kubeflow namespace.
Since this commit (3c338f4), policies for several namespaces, including kubeflow-system and cert-manager, have been added, but the namespace value in kustomization.yaml is changed to the kubeflow namespace.

kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: cert-manager-webhook
namespace: cert-manager
spec:
podSelector:

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jan 7, 2026

@kunal-511 may you take a look?

I think we need to adjust the test scripts then to only use the specific networkpolicies. Or we make our life easier and just create the namespaces in the multi-tenancy script if they do not exist yet.
But to properly install parts of kubeflow we need to move them to the per application folders and upstream them long-term.

Error from server (NotFound): error when creating "STDIN": namespaces "auth" not found
Error from server (NotFound): error when creating "STDIN": namespaces "knative-serving" not found
Error: Process completed with exit code 1.

I will also do some dummy istio changes to trigger most tests.

@juliusvonkohout
Copy link
Member

Thank you @juhyeon-cha

@juliusvonkohout juliusvonkohout changed the title fix: make to create networkpolicy each namespaces fix: variable namespaces for networkpolicies Jan 7, 2026
Signed-off-by: Julius von Kohout <[email protected]>
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kimwnasptd for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kunal-511
Copy link
Contributor

I think we need to adjust the test scripts then to only use the specific networkpolicies. Or we make our life easier and just create the namespaces in the multi-tenancy script if they do not exist yet.

Okay I think currently creating namespace in multi-tenancy script if they do not exist will work?
Will raise the PR

@juliusvonkohout
Copy link
Member

I think especially everything outside of the kubeflow namespaces so cert-manager, knative-serving etc. We should directly move in this PR to the respective folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants