diff --git a/.github/workflows/CryptoMB-design.yml b/.github/workflows/CryptoMB-design.yml index 4d08fe0..49cb1a8 100644 --- a/.github/workflows/CryptoMB-design.yml +++ b/.github/workflows/CryptoMB-design.yml @@ -1,13 +1,12 @@ -name: CryptoMB-TLS-handshake-acceleration-for-istio(test1) +name: CryptoMB-TLS-handshake-acceleration-for-Istio services: example-istiocontrolplane: name: example-istiocontrolplane type: IstioOperator apiVersion: install.istio.io/v1alpha1 namespace: istio-system - model: kubernetes - dependsOn: - - istio-operator-eunco + model: istio-base + version: 1.16.0 settings: spec: components: @@ -40,16 +39,164 @@ services: position: posX: 448.11615449152737 posY: 115.57287677378196 - istio-operator-bdbuj: + istio-operator-btexb: name: istio-operator - type: ServiceAccount + type: ClusterRole + apiVersion: rbac.authorization.k8s.io/v1 + model: kubernetes + settings: + rules: + - api Groups: + - authentication.istio.io + resources: + - '*' + verbs: + - '*' + - api Groups: + - config.istio.io + resources: + - '*' + verbs: + - '*' + - api Groups: + - install.istio.io + resources: + - '*' + verbs: + - '*' + - api Groups: + - networking.istio.io + resources: + - '*' + verbs: + - '*' + - api Groups: + - security.istio.io + resources: + - '*' + verbs: + - '*' + - api Groups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - '*' + - api Groups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions.apiextensions.k8s.io + - customresourcedefinitions + verbs: + - '*' + - api Groups: + - apps + - extensions + resources: + - daemonsets + - deployments + - deployments/finalizers + - replicasets + verbs: + - '*' + - api Groups: + - autoscaling + resources: + - horizontalpodautoscalers + verbs: + - '*' + - api Groups: + - monitoring.coreos.com + resources: + - servicemonitors + verbs: + - get + - create + - update + - api Groups: + - policy + resources: + - poddisruptionbudgets + verbs: + - '*' + - api Groups: + - rbac.authorization.k8s.io + resources: + - clusterrolebindings + - clusterroles + - roles + - rolebindings + verbs: + - '*' + - api Groups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - create + - update + - api Groups: + - "" + resources: + - configmaps + - endpoints + - events + - namespaces + - pods + - pods/proxy + - pods/portforward + - persistentvolumeclaims + - secrets + - services + - serviceaccounts + - resourcequotas + verbs: + - '*' + traits: + meshmap: + edges: [] + id: f9e95f4b-ffef-4523-917c-1442bb59b53b + label: istio-operator + meshmodel-metadata: + genealogy: "" + isCustomResource: false + isNamespaced: false + logoURL: Created by Lee + model: kubernetes + modelDisplayName: Kubernetes + primaryColor: '#326CE5' + published: true + secondaryColor: '#7aa1f0' + shape: round-rectangle + styleOverrides: '{"height":"22px","width":"16px","padding":"6px"}' + subCategory: Scheduling & Orchestration + svgColor: ui/public/static/img/meshmodels/kubernetes/color/clusterrole-color.svg + svgComplete: "" + svgWhite: ui/public/static/img/meshmodels/kubernetes/white/clusterrole-white.svg + position: + posX: 671.5732114890026 + posY: 194.95822565413835 + istio-operator-danjd: + name: istio-operator + type: Service apiVersion: v1 namespace: istio-operator model: kubernetes + settings: + spec: + ports: + - name: http-metrics + port: 80 + protocol: TCP + target Port: 8383 + selector: + name: istio-operator traits: meshmap: edges: [] - id: 9240267f-d393-4c5d-bdf9-596bacf0ebf0 + id: d24ca3fc-fb37-40d6-86b7-a2665b24f120 label: istio-operator meshmodel-metadata: genealogy: "" @@ -61,21 +208,21 @@ services: primaryColor: '#326CE5' published: true secondaryColor: '#7aa1f0' - shape: round-rectangle - styleOverrides: "" + shape: round-triangle + styleOverrides: '{"height":16,"width":17,"padding":12,"background-fit":"none","background-position-y":4.5}' subCategory: Scheduling & Orchestration - svgColor: ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg + svgColor: ui/public/static/img/meshmodels/kubernetes/color/apiservice-color.svg svgComplete: "" - svgWhite: ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg + svgWhite: ui/public/static/img/meshmodels/kubernetes/white/apiservice-white.svg position: - posX: 561.5 - posY: 194.5 - istio-operator-eunco: + posX: 484.9355395872588 + posY: 168.2587641981373 + istio-operator-gblro: name: istio-operator type: Deployment apiVersion: apps/v1 - model: kubernetes namespace: istio-operator + model: kubernetes settings: spec: replicas: 1 @@ -156,51 +303,12 @@ services: position: posX: 492.1229787505797 posY: 234.6048777043293 - istio-operator-hynzf: - name: istio-operator - type: Service - apiVersion: v1 - model: kubernetes - namespace: istio-operator - settings: - spec: - ports: - - name: http-metrics - port: 80 - protocol: TCP - target Port: 8383 - selector: - name: istio-operator - traits: - meshmap: - edges: [] - id: d24ca3fc-fb37-40d6-86b7-a2665b24f120 - label: istio-operator - meshmodel-metadata: - genealogy: "" - isCustomResource: false - isNamespaced: true - logoURL: https://github.com/cncf/artwork/blob/master/projects/kubernetes/icon/white/kubernetes-icon-white.svg - model: kubernetes - modelDisplayName: Kubernetes - primaryColor: '#326CE5' - published: true - secondaryColor: '#7aa1f0' - shape: round-triangle - styleOverrides: '{"height":16,"width":17,"padding":12,"background-fit":"none","background-position-y":4.5}' - subCategory: Scheduling & Orchestration - svgColor: ui/public/static/img/meshmodels/kubernetes/color/apiservice-color.svg - svgComplete: "" - svgWhite: ui/public/static/img/meshmodels/kubernetes/white/apiservice-white.svg - position: - posX: 484.9355395872588 - posY: 168.2587641981373 - istio-operator-nijef: + istio-operator-ioxyg: name: istio-operator type: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 - model: kubernetes namespace: istio-operator + model: kubernetes settings: role Ref: api Group: rbac.authorization.k8s.io @@ -234,142 +342,33 @@ services: position: posX: 583.5433705937176 posY: 276.8033383692807 - istio-operator-rympr: + istio-operator-kgmgw: name: istio-operator - type: ClusterRole - apiVersion: rbac.authorization.k8s.io/v1 + type: ServiceAccount + apiVersion: v1 + namespace: istio-operator model: kubernetes - settings: - rules: - - api Groups: - - authentication.istio.io - resources: - - '*' - verbs: - - '*' - - api Groups: - - config.istio.io - resources: - - '*' - verbs: - - '*' - - api Groups: - - install.istio.io - resources: - - '*' - verbs: - - '*' - - api Groups: - - networking.istio.io - resources: - - '*' - verbs: - - '*' - - api Groups: - - security.istio.io - resources: - - '*' - verbs: - - '*' - - api Groups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - - validatingwebhookconfigurations - verbs: - - '*' - - api Groups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions.apiextensions.k8s.io - - customresourcedefinitions - verbs: - - '*' - - api Groups: - - apps - - extensions - resources: - - daemonsets - - deployments - - deployments/finalizers - - replicasets - verbs: - - '*' - - api Groups: - - autoscaling - resources: - - horizontalpodautoscalers - verbs: - - '*' - - api Groups: - - monitoring.coreos.com - resources: - - servicemonitors - verbs: - - get - - create - - update - - api Groups: - - policy - resources: - - poddisruptionbudgets - verbs: - - '*' - - api Groups: - - rbac.authorization.k8s.io - resources: - - clusterrolebindings - - clusterroles - - roles - - rolebindings - verbs: - - '*' - - api Groups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - create - - update - - api Groups: - - "" - resources: - - configmaps - - endpoints - - events - - namespaces - - pods - - pods/proxy - - pods/portforward - - persistentvolumeclaims - - secrets - - services - - serviceaccounts - - resourcequotas - verbs: - - '*' traits: meshmap: edges: [] - id: f9e95f4b-ffef-4523-917c-1442bb59b53b + id: 9240267f-d393-4c5d-bdf9-596bacf0ebf0 label: istio-operator meshmodel-metadata: genealogy: "" isCustomResource: false - isNamespaced: false - logoURL: Created by Lee + isNamespaced: true + logoURL: https://github.com/cncf/artwork/blob/master/projects/kubernetes/icon/white/kubernetes-icon-white.svg model: kubernetes modelDisplayName: Kubernetes primaryColor: '#326CE5' published: true secondaryColor: '#7aa1f0' shape: round-rectangle - styleOverrides: '{"height":"22px","width":"16px","padding":"6px"}' + styleOverrides: "" subCategory: Scheduling & Orchestration - svgColor: ui/public/static/img/meshmodels/kubernetes/color/clusterrole-color.svg + svgColor: ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg svgComplete: "" - svgWhite: ui/public/static/img/meshmodels/kubernetes/white/clusterrole-white.svg + svgWhite: ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg position: - posX: 671.5732114890026 - posY: 194.95822565413835 + posX: 561.5 + posY: 194.5 \ No newline at end of file diff --git a/.github/workflows/scripts/istioCrypto.sh b/.github/workflows/scripts/istioCrypto.sh index a571175..d1b5dd5 100644 --- a/.github/workflows/scripts/istioCrypto.sh +++ b/.github/workflows/scripts/istioCrypto.sh @@ -20,14 +20,14 @@ sleep 200 # Applying/deploying crpyto pattern echo "Applying IstioCrypto Design" -mesheryctl pattern apply -f ../CryptoMB-design.yaml --token "./.github/workflows/auth.json" +mesheryctl pattern apply -f ./.github/workflows/CryptoMB-design.yaml --token "./.github/workflows/auth.json" sleep 200 kubectl get all -n istio-operator # deplyoing httbin application -echo "OnBoarding IstioCrypto Design" +echo "OnBoarding HTTP Design" mesheryctl app onboard -f ../httpbin.yaml -s "Kubernetes Manifest" --token "./.github/workflows/auth.json" sleep 100