diff --git a/playbooks/roles/calico/files/calico/profile.yml b/playbooks/roles/calico/files/calico/profile.yml index ddf43f8..fffb8e6 100644 --- a/playbooks/roles/calico/files/calico/profile.yml +++ b/playbooks/roles/calico/files/calico/profile.yml @@ -170,4 +170,42 @@ - action: allow destination: {} source: - tag: webrouter \ No newline at end of file + tag: webrouter +- apiVersion: v1 + kind: profile + metadata: + name: registry + tags: + - registry + spec: + egress: + - action: allow + destination: {} + source: {} + ingress: + - action: allow + destination: {} + source: + tag: lain + - action: allow + destination: {} + source: + tag: registry + - action: allow + destination: + ports: + - 5000 + protocol: tcp + source: {} + - action: allow + destination: + ports: + - 80 + protocol: tcp + source: {} + - action: allow + destination: + ports: + - 443 + protocol: tcp + source: {}