{ "id": "00000000-0000-0000-0000-000000000000", "name": "DevOps K8s CI/CD Platform", "schemaVersion": "designs.meshery.io/v1beta3", "version": "0.0.2", "components": [ { "id": "05dce88e-10a1-4139-8837-32a9e9a11f6d", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "staging", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "background-image": "none", "background-opacity": 0.5, "border-style": "dashed", "border-width": 2, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/namespace-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/namespace-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/namespace-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "staging" } }, "component": { "version": "v1", "kind": "Namespace", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "ff399e6b-8933-4995-aca9-7405d531a964", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "production", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "background-image": "none", "background-opacity": 0.5, "border-style": "dashed", "border-width": 2, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/namespace-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/namespace-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/namespace-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "production" } }, "component": { "version": "v1", "kind": "Namespace", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "e311cca9-f42c-49c8-b58a-da191e5d8286", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "app-config", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "bottom-round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/configmap-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/configmap-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "data": { "NODE_ENV": "staging", "PORT": "8080" }, "metadata": { "name": "app-config", "namespace": "staging" } }, "component": { "version": "v1", "kind": "ConfigMap", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "207ccdd9-077f-43fd-8a15-390bb395bfb3", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "app-config", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "bottom-round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/configmap-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/configmap-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "data": { "NODE_ENV": "production", "PORT": "8080" }, "metadata": { "name": "app-config", "namespace": "production" } }, "component": { "version": "v1", "kind": "ConfigMap", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "f9abecb4-00c8-4c04-bd33-9d0ad347e4da", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "app-secret", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "background-clip": "node", "background-image-containment": "over", "background-opacity": 0, "height": 32, "padding": 1, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "shield", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/secret-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/secret-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/secret-white.svg", "width": 32 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "app-secret", "namespace": "staging" }, "stringData": { "APP_SECRET": "change-this-before-real-production" }, "type": "Opaque" }, "component": { "version": "v1", "kind": "Secret", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "caa14e5a-5f77-45c2-b934-8309df05efff", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "app-secret", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "background-clip": "node", "background-image-containment": "over", "background-opacity": 0, "height": 32, "padding": 1, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "shield", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/secret-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/secret-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/secret-white.svg", "width": 32 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "app-secret", "namespace": "production" }, "stringData": { "APP_SECRET": "change-this-before-real-production" }, "type": "Opaque" }, "component": { "version": "v1", "kind": "Secret", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "9e6377ab-65ec-4a06-a64b-5d9fcdcd2b40", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "github-actions", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "bottom-round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/serviceaccount-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "github-actions", "namespace": "staging" } }, "component": { "version": "v1", "kind": "ServiceAccount", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "3da346a5-901a-4316-9fc2-8e222fd807ce", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "github-actions-deployer", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "height": 22, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/role-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/role-white.svg", "width": 22, "x": 8.5, "y": 7.5, "z-index": 4 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "github-actions-deployer", "namespace": "staging" }, "rules": [ { "apiGroups": [ "apps" ], "resources": [ "deployments", "replicasets" ], "verbs": [ "get", "list", "watch", "create", "update", "patch", "delete" ] }, { "apiGroups": [ "" ], "resources": [ "pods", "services", "configmaps", "secrets" ], "verbs": [ "get", "list", "watch", "create", "update", "patch", "delete" ] }, { "apiGroups": [ "" ], "resources": [ "pods/log" ], "verbs": [ "get", "list" ] } ] }, "component": { "version": "rbac.authorization.k8s.io/v1", "kind": "Role", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "7bc637d6-93cc-48ab-bb17-be1a89ae73c3", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "github-actions-deployer-binding", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "height": 25, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/rolebinding-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/rolebinding-white.svg", "width": 25, "x": 7, "y": 7, "z-index": 4 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "github-actions-deployer-binding", "namespace": "staging" }, "roleRef": { "apiGroup": "rbac.authorization.k8s.io", "kind": "Role", "name": "github-actions-deployer" }, "subjects": [ { "kind": "ServiceAccount", "name": "github-actions", "namespace": "staging" } ] }, "component": { "version": "rbac.authorization.k8s.io/v1", "kind": "RoleBinding", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "8a28dbdd-e5b8-4947-88bc-4faf44903713", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "github-actions", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "bottom-round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/serviceaccount-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/serviceaccount-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "github-actions", "namespace": "production" } }, "component": { "version": "v1", "kind": "ServiceAccount", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "38f12537-4a65-48ce-8622-18435b2bdb48", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "github-actions-deployer", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "height": 22, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/role-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/role-white.svg", "width": 22, "x": 8.5, "y": 7.5, "z-index": 4 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "github-actions-deployer", "namespace": "production" }, "rules": [ { "apiGroups": [ "apps" ], "resources": [ "deployments", "replicasets" ], "verbs": [ "get", "list", "watch", "create", "update", "patch", "delete" ] }, { "apiGroups": [ "" ], "resources": [ "pods", "services", "configmaps", "secrets" ], "verbs": [ "get", "list", "watch", "create", "update", "patch", "delete" ] }, { "apiGroups": [ "" ], "resources": [ "pods/log" ], "verbs": [ "get", "list" ] } ] }, "component": { "version": "rbac.authorization.k8s.io/v1", "kind": "Role", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "e1408d8f-615c-4bba-a17c-d5380f80add3", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "github-actions-deployer-binding", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "height": 25, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/rolebinding-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/rolebinding-white.svg", "width": 25, "x": 7, "y": 7, "z-index": 4 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "name": "github-actions-deployer-binding", "namespace": "production" }, "roleRef": { "apiGroup": "rbac.authorization.k8s.io", "kind": "Role", "name": "github-actions-deployer" }, "subjects": [ { "kind": "ServiceAccount", "name": "github-actions", "namespace": "production" } ] }, "component": { "version": "rbac.authorization.k8s.io/v1", "kind": "RoleBinding", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "5b0f2aca-9b33-4bae-8d68-b4cf7ae84a04", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "devops-task-api", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "background-image": "none", "background-opacity": 0.5, "border-width": 2, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-rectangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/deployment-color.svg", "svgComplete": "ui/public/static/img/meshmodels/kubernetes/complete/deployment-complete.svg", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/deployment-white.svg" }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "labels": { "app": "devops-task-api", "environment": "staging" }, "name": "devops-task-api", "namespace": "staging" }, "spec": { "replicas": 2, "selector": { "matchLabels": { "app": "devops-task-api" } }, "template": { "metadata": { "labels": { "app": "devops-task-api", "environment": "staging" } }, "spec": { "containers": [ { "envFrom": [ { "configMapRef": { "name": "app-config" } }, { "secretRef": { "name": "app-secret" } } ], "image": "ghcr.io/niraj-mx07/devops-k8s-cicd-platform:latest", "imagePullPolicy": "Always", "livenessProbe": { "failureThreshold": 3, "httpGet": { "path": "/health", "port": 8080 }, "initialDelaySeconds": 10, "periodSeconds": 10, "timeoutSeconds": 3 }, "name": "devops-task-api", "ports": [ { "containerPort": 8080, "protocol": "TCP" } ], "readinessProbe": { "failureThreshold": 3, "httpGet": { "path": "/ready", "port": 8080 }, "initialDelaySeconds": 5, "periodSeconds": 5, "timeoutSeconds": 3 }, "resources": { "limits": { "cpu": "500m", "memory": "512Mi" }, "requests": { "cpu": "100m", "memory": "128Mi" } } } ], "imagePullSecrets": [ { "name": "ghcr-secret" } ] } } } }, "component": { "version": "apps/v1", "kind": "Deployment", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" }, { "id": "5eb96779-0a7c-4207-a6b4-6cb9618d6b64", "schemaVersion": "components.meshery.io/v1beta2", "version": "v1.0.0", "displayName": "devops-task-api", "description": "", "format": "", "model": null, "modelReference": { "displayName": "Kubernetes", "id": "00000000-0000-0000-0000-000000000000", "model": { "version": "v1.37.0-rc.1" }, "name": "kubernetes", "registrant": { "kind": "github" }, "version": "v1.0.0" }, "styles": { "background-position-y": "4.5", "height": 20, "padding": 12, "primaryColor": "#326CE5", "secondaryColor": "#7aa1f0", "shape": "round-triangle", "svgColor": "ui/public/static/img/meshmodels/kubernetes/color/service-color.svg", "svgComplete": "", "svgWhite": "ui/public/static/img/meshmodels/kubernetes/white/service-white.svg", "width": 20 }, "capabilities": null, "status": "enabled", "metadata": { "configurationUISchema": "", "genealogy": "", "instanceDetails": null, "isAnnotation": false, "isNamespaced": true, "published": false, "source_uri": "git://github.com/kubernetes/kubernetes/master/api/openapi-spec/v3" }, "configuration": { "metadata": { "labels": { "app": "devops-task-api", "environment": "staging" }, "name": "devops-task-api", "namespace": "staging" }, "spec": { "ports": [ { "name": "http", "port": 8080, "protocol": "TCP", "targetPort": 8080 } ], "selector": { "app": "devops-task-api" }, "type": "NodePort" } }, "component": { "version": "v1", "kind": "Service", "schema": "" }, "created_at": "0001-01-01T00:00:00Z", "updated_at": "0001-01-01T00:00:00Z" } ], "relationships": null }