generated from meshery/meshery-istio
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Patterns] Pattern components generated from latest App Mesh manifests
Signed-off-by: l5io <[email protected]>
- Loading branch information
1 parent
3bf59e3
commit 943dedb
Showing
12 changed files
with
4,006 additions
and
0 deletions.
There are no files selected for viewing
768 changes: 768 additions & 0 deletions
768
templates/oam/workloads/workloads-v1.4.1/gatewayroute.appmesh.meshery.layer5io.schema.json
Large diffs are not rendered by default.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
templates/oam/workloads/workloads-v1.4.1/gatewayroute.appmesh_definition.json
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,19 @@ | ||
{ | ||
"apiVersion": "core.oam.dev/v1alpha1", | ||
"kind": "WorkloadDefinition", | ||
"metadata": { | ||
"name": "GatewayRoute.APP_MESH" | ||
}, | ||
"spec": { | ||
"definitionRef": { | ||
"name": "gatewayroute.appmesh.meshery.layer5.io" | ||
}, | ||
"metadata": { | ||
"@type": "pattern.meshery.io/mesh/workload", | ||
"meshVersion": "v1.4.1", | ||
"meshName": "APP_MESH", | ||
"k8sAPIVersion": "appmesh.k8s.aws/v1beta2", | ||
"k8sKind": "GatewayRoute" | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
templates/oam/workloads/workloads-v1.4.1/mesh.appmesh.meshery.layer5io.schema.json
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,74 @@ | ||
{ | ||
"description": "MeshSpec defines the desired state of Mesh refers to https://docs.aws.amazon.com/app-mesh/latest/APIReference/API_MeshSpec.html", | ||
"properties": { | ||
"awsName": { | ||
"description": "AWSName is the AppMesh Mesh object's name. If unspecified or empty, it defaults to be \"${name}\" of k8s Mesh", | ||
"type": "string" | ||
}, | ||
"egressFilter": { | ||
"description": "The egress filter rules for the service mesh. If unspecified, default settings from AWS API will be applied. Refer to AWS Docs for default settings.", | ||
"properties": { | ||
"type": { | ||
"description": "The egress filter type.", | ||
"enum": [ | ||
"ALLOW_ALL", | ||
"DROP_ALL" | ||
], | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"type" | ||
], | ||
"type": "object" | ||
}, | ||
"meshOwner": { | ||
"description": "The AWS IAM account ID of the service mesh owner. Required if the account ID is not your own.", | ||
"type": "string" | ||
}, | ||
"namespaceSelector": { | ||
"description": "NamespaceSelector selects Namespaces using labels to designate mesh membership. This field follows standard label selector semantics: \tif present but empty, it selects all namespaces. \tif absent, it selects no namespace.", | ||
"properties": { | ||
"matchExpressions": { | ||
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", | ||
"items": { | ||
"description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", | ||
"properties": { | ||
"key": { | ||
"description": "key is the label key that the selector applies to.", | ||
"type": "string" | ||
}, | ||
"operator": { | ||
"description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", | ||
"type": "string" | ||
}, | ||
"values": { | ||
"description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"required": [ | ||
"key", | ||
"operator" | ||
], | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
}, | ||
"matchLabels": { | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object", | ||
"$schema": "http://json-schema.org/draft-04/schema#" | ||
} |
19 changes: 19 additions & 0 deletions
19
templates/oam/workloads/workloads-v1.4.1/mesh.appmesh_definition.json
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,19 @@ | ||
{ | ||
"apiVersion": "core.oam.dev/v1alpha1", | ||
"kind": "WorkloadDefinition", | ||
"metadata": { | ||
"name": "Mesh.APP_MESH" | ||
}, | ||
"spec": { | ||
"definitionRef": { | ||
"name": "mesh.appmesh.meshery.layer5.io" | ||
}, | ||
"metadata": { | ||
"@type": "pattern.meshery.io/mesh/workload", | ||
"meshVersion": "v1.4.1", | ||
"meshName": "APP_MESH", | ||
"k8sAPIVersion": "appmesh.k8s.aws/v1beta2", | ||
"k8sKind": "Mesh" | ||
} | ||
} | ||
} |
Oops, something went wrong.