Skip to content

Commit

Permalink
[Patterns] Pattern components generated from latest Istio manifests
Browse files Browse the repository at this point in the history
Signed-off-by: l5io <[email protected]>
  • Loading branch information
leecalcote authored and l5io committed Nov 15, 2023
1 parent d78d99b commit 8d43ee2
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"kind":"AuthorizationPolicy","apiVersion":"security.istio.io/v1","displayName":"Authorization Policy","format":"JSON","hostname":"","hostID":"00000000-0000-0000-0000-000000000000","displayhostname":"","metadata":{"logoURL":"https://github.com/istio/istio/blob/master/logo/istio-bluelogo-whitebackground-unframed.svg","primaryColor":"#466BB0","secondaryColor":"#93b0e6","shape":"circle","svgColor":"\u003csvg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"20\" width=\"20\" viewBox=\"0 0 160 240\"\u003e\u003cg id=\"logo\" fill=\"#466BB0\"\u003e\u003crect id=\"background\" width=\"160\" height=\"240\" fill=\"#fff\"/\u003e\u003cpolygon id=\"hull\" points=\"0 210 160 210 60 240\"/\u003e\u003cpolygon id=\"mainsail\" points=\"0 200 60 190 60 80\"/\u003e\u003cpolygon id=\"headsail\" points=\"70 190 160 200 70 0\"/\u003e\u003c/g\u003e\u003c/svg\u003e\n","svgWhite":"\u003csvg height=\"20\" width=\"20\" viewBox=\"6.386270046234131 3.7419400215148926 18.227430820465088 25.258059978485107\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cpath d=\"M6.38627 24.7904L13.2215 23.738V12.1613L6.38627 24.7904Z\" fill=\"white\"/\u003e\u003cpath d=\"M6.38627 25.8427H24.6137L13.2215 29L6.38627 25.8427Z\" fill=\"white\"/\u003e\u003cpath d=\"M14.3608 23.7379L24.6137 24.7904L14.3608 3.74194V23.7379Z\" fill=\"white\"/\u003e\u003c/svg\u003e"},"model":{"name":"istio","version":"1.20.0","displayName":"ISTIO","hostname":"","hostID":"00000000-0000-0000-0000-000000000000","displayhostname":"","category":{"name":"Cloud Native Network","metadata":null},"metadata":{"logoURL":"https://github.com/istio/istio/blob/master/logo/istio-bluelogo-whitebackground-unframed.svg","primaryColor":"#466BB0","secondaryColor":"#93b0e6","shape":"circle","svgColor":"\u003csvg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" height=\"20\" width=\"20\" viewBox=\"0 0 160 240\"\u003e\u003cg id=\"logo\" fill=\"#466BB0\"\u003e\u003crect id=\"background\" width=\"160\" height=\"240\" fill=\"#fff\"/\u003e\u003cpolygon id=\"hull\" points=\"0 210 160 210 60 240\"/\u003e\u003cpolygon id=\"mainsail\" points=\"0 200 60 190 60 80\"/\u003e\u003cpolygon id=\"headsail\" points=\"70 190 160 200 70 0\"/\u003e\u003c/g\u003e\u003c/svg\u003e\n","svgWhite":"\u003csvg height=\"20\" width=\"20\" viewBox=\"6.386270046234131 3.7419400215148926 18.227430820465088 25.258059978485107\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\u003cpath d=\"M6.38627 24.7904L13.2215 23.738V12.1613L6.38627 24.7904Z\" fill=\"white\"/\u003e\u003cpath d=\"M6.38627 25.8427H24.6137L13.2215 29L6.38627 25.8427Z\" fill=\"white\"/\u003e\u003cpath d=\"M14.3608 23.7379L24.6137 24.7904L14.3608 3.74194V23.7379Z\" fill=\"white\"/\u003e\u003c/svg\u003e"}},"schema":"{\n \"properties\": {\n \"spec\": {\n \"description\": \"Configuration for access control on workloads. See more details at: https://istio.io/docs/reference/config/security/authorization-policy.html\",\n \"oneOf\": [\n {\n \"not\": {\n \"anyOf\": [\n {\n \"required\": [\n \"provider\"\n ]\n }\n ]\n }\n },\n {\n \"required\": [\n \"provider\"\n ]\n }\n ],\n \"properties\": {\n \"action\": {\n \"description\": \"Optional.\",\n \"enum\": [\n \"ALLOW\",\n \"DENY\",\n \"AUDIT\",\n \"CUSTOM\"\n ],\n \"type\": \"string\"\n },\n \"provider\": {\n \"description\": \"Specifies detailed configuration of the CUSTOM action.\",\n \"properties\": {\n \"name\": {\n \"description\": \"Specifies the name of the extension provider.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"rules\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"properties\": {\n \"from\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"properties\": {\n \"source\": {\n \"description\": \"Source specifies the source of a request.\",\n \"properties\": {\n \"ipBlocks\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"namespaces\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notIpBlocks\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notNamespaces\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notPrincipals\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notRemoteIpBlocks\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notRequestPrincipals\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"principals\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"remoteIpBlocks\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"requestPrincipals\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"to\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"properties\": {\n \"operation\": {\n \"description\": \"Operation specifies the operation of a request.\",\n \"properties\": {\n \"hosts\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"methods\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notHosts\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notMethods\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notPaths\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"notPorts\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"paths\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"ports\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"when\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"properties\": {\n \"key\": {\n \"description\": \"The name of an Istio attribute.\",\n \"type\": \"string\"\n },\n \"notValues\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"values\": {\n \"description\": \"Optional.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"key\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"selector\": {\n \"description\": \"Optional.\",\n \"properties\": {\n \"matchLabels\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"description\": \"One or more labels that indicate a specific set of pods/VMs on which a policy should be applied.\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"targetRef\": {\n \"properties\": {\n \"group\": {\n \"type\": \"string\"\n },\n \"kind\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"namespace\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"status\": {\n \"type\": \"object\",\n \"x-kubernetes-preserve-unknown-fields\": true\n }\n },\n \"title\": \"Authorization Policy\",\n \"type\": \"object\"\n}"}

Large diffs are not rendered by default.

Loading

0 comments on commit 8d43ee2

Please sign in to comment.