Skip to content

Instantly share code, notes, and snippets.

@pingles
Created December 14, 2016 18:57
Show Gist options
  • Save pingles/4b32acb1e7fa0386fdfbfe376e299798 to your computer and use it in GitHub Desktop.
Save pingles/4b32acb1e7fa0386fdfbfe376e299798 to your computer and use it in GitHub Desktop.
apiVersion: security.uswitch.com/v1
kind: SecurityGroupPolicy
metadata:
name: mongodb
namespace: default
spec:
securityGroups:
- name: mongodb
egress:
endpoints:
- mongodb-a1.example.com:27017
- mongodb-b1.example.com:27017
- mongodb-c1.example.com:27017
pods:
app: mongoclient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment