-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MLMD GRPC Server Network Policy
Signed-off-by: vmudadla <vmudadla@redhat.com>
- Loading branch information
1 parent
94eb6c6
commit d1cef16
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
config/internal/ml-metadata/metadata-grpc.networkpolicy.yaml.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
kind: NetworkPolicy | ||
apiVersion: networking.k8s.io/v1 | ||
metadata: | ||
name: ds-pipeline-metadata-grpc-{{ .Name }} | ||
namespace: {{ .Namespace }} | ||
spec: | ||
podSelector: | ||
matchLabels: | ||
app: ds-pipeline-metadata-grpc-{{ .Name }} | ||
component: data-science-pipelines | ||
ingress: | ||
- ports: | ||
- protocol: TCP | ||
port: 8080 | ||
from: | ||
- podSelector: | ||
matchLabels: | ||
pipelines.kubeflow.org/v2_component: 'true' | ||
- podSelector: | ||
matchLabels: | ||
app: ds-pipeline-metadata-envoy-{{.Name}} | ||
component: data-science-pipelines | ||
policyTypes: | ||
- Ingress |