Skip to content

Commit

Permalink
Merge pull request #8 from xenit-eu/XEN-2322-add-transform-router-net…
Browse files Browse the repository at this point in the history
…-pol

XEN-2322 add transform router to and from acs network policies
  • Loading branch information
JoostDeCupere authored Jun 24, 2022
2 parents f99d7ce + e8a6ee8 commit d5f6aa5
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ entries:
xenit-alfresco:
- apiVersion: v2
appVersion: 0.1.0
created: "2022-06-23T13:08:14.1725892+01:00"
created: "2022-06-24T15:08:52.4568838+01:00"
description: A Helm chart for Alfresco
digest: 0d3db2bf41c8137c40ca3aa77805e8ef8ceae3befb5dc6392e1418f533bfa518
digest: 02eac06dfdeef04f1ef7313b7cc74f9a59a09d9618edc549be23adf32ff453c2
name: xenit-alfresco
type: application
urls:
- https://xenit-eu.github.io/xenit-k8s-alfresco/xenit-alfresco-0.1.0.tgz
version: 0.1.0
generated: "2022-06-23T13:08:14.1708554+01:00"
generated: "2022-06-24T15:08:52.4552647+01:00"
Binary file modified xenit-alfresco-0.1.0.tgz
Binary file not shown.
17 changes: 17 additions & 0 deletions xenit-alfresco/templates/acs/network-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,21 @@ spec:
- podSelector:
matchLabels:
app: sync-service
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
namespace: {{ .Release.Namespace }}
name: acs-to-transform-router
spec:
podSelector:
matchLabels:
app: acs
policyTypes:
- Egress
egress:
- to:
- podSelector:
matchLabels:
app: transform-router
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,21 @@ spec:
matchLabels:
app: mq
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
namespace: {{ .Release.Namespace }}
name: tranform-router-from-acs
spec:
podSelector:
matchLabels:
app: transform-router
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
app: acs
---
{{- end }}

0 comments on commit d5f6aa5

Please sign in to comment.