From 29eca12c4e8c0a671397f1c779cb960043ecc9a8 Mon Sep 17 00:00:00 2001 From: Hadar Date: Sun, 10 Dec 2023 12:47:26 +0200 Subject: [PATCH] remove jsonWorkload from all bps and mappings --- kubernetes/argo_rollouts_config.tmpl | 1 - kubernetes/blueprints/argo-argo_rollouts-blueprints.json | 5 ----- kubernetes/blueprints/argo-blueprints.json | 5 ----- kubernetes/blueprints/istio-blueprints.json | 5 ----- kubernetes/blueprints/kubernetes_complete_usecase_bps.json | 5 ----- kubernetes/blueprints/kubernetes_knative_usecase.json | 5 ----- kubernetes/blueprints/lean_kubernetes_usecase_bps.json | 5 ----- kubernetes/blueprints/opencosts_bps.json | 5 ----- kubernetes/blueprints/openshift-blueprints.json | 5 ----- kubernetes/full-configs/k8s-guide/k8s_guide_bps.json | 5 ----- kubernetes/full-configs/k8s-guide/k8s_guide_config.yaml | 3 --- kubernetes/full-configs/kubernetes_kantive_usecase.yaml | 4 ---- kubernetes/full-configs/lean_kubernetes_usecase.yaml | 3 --- kubernetes/full-configs/openshift_usecase.yaml | 4 ---- kubernetes/kubernetes_config.yaml | 3 --- kubernetes/kubernetes_v1_config.yaml | 4 ---- .../argo-argo_rollouts-istio-kubernetes_v1_config.yaml | 5 ----- .../templates/argo-argo_rollouts-kubernetes_v1_config.yaml | 5 ----- kubernetes/templates/argo-istio-kubernetes_v1_config.yaml | 4 ---- kubernetes/templates/argo-kubernetes_v1_config.yaml | 4 ---- kubernetes/templates/istio-kubernetes_v1_config.yaml | 4 ---- kubernetes/templates/kubernetes_v1_config.yaml | 4 ---- 22 files changed, 93 deletions(-) diff --git a/kubernetes/argo_rollouts_config.tmpl b/kubernetes/argo_rollouts_config.tmpl index b49bbb6..42c54f9 100644 --- a/kubernetes/argo_rollouts_config.tmpl +++ b/kubernetes/argo_rollouts_config.tmpl @@ -12,7 +12,6 @@ kind: '"Rollout"' creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas - workloadJson: . strategyConfig: .spec.strategy // null availableReplicas: .status.availableReplicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/blueprints/argo-argo_rollouts-blueprints.json b/kubernetes/blueprints/argo-argo_rollouts-blueprints.json index 6f2a1ce..059a83f 100644 --- a/kubernetes/blueprints/argo-argo_rollouts-blueprints.json +++ b/kubernetes/blueprints/argo-argo_rollouts-blueprints.json @@ -137,11 +137,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/argo-blueprints.json b/kubernetes/blueprints/argo-blueprints.json index 841e146..73a3cc1 100644 --- a/kubernetes/blueprints/argo-blueprints.json +++ b/kubernetes/blueprints/argo-blueprints.json @@ -137,11 +137,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/istio-blueprints.json b/kubernetes/blueprints/istio-blueprints.json index 0a1c035..c1757e3 100644 --- a/kubernetes/blueprints/istio-blueprints.json +++ b/kubernetes/blueprints/istio-blueprints.json @@ -137,11 +137,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/kubernetes_complete_usecase_bps.json b/kubernetes/blueprints/kubernetes_complete_usecase_bps.json index 9d880fe..4084092 100644 --- a/kubernetes/blueprints/kubernetes_complete_usecase_bps.json +++ b/kubernetes/blueprints/kubernetes_complete_usecase_bps.json @@ -115,11 +115,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/kubernetes_knative_usecase.json b/kubernetes/blueprints/kubernetes_knative_usecase.json index 8289b93..4a5f725 100644 --- a/kubernetes/blueprints/kubernetes_knative_usecase.json +++ b/kubernetes/blueprints/kubernetes_knative_usecase.json @@ -360,11 +360,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/lean_kubernetes_usecase_bps.json b/kubernetes/blueprints/lean_kubernetes_usecase_bps.json index 3286c24..f275ae3 100644 --- a/kubernetes/blueprints/lean_kubernetes_usecase_bps.json +++ b/kubernetes/blueprints/lean_kubernetes_usecase_bps.json @@ -52,11 +52,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/opencosts_bps.json b/kubernetes/blueprints/opencosts_bps.json index 7ce0fd5..d28cb4e 100644 --- a/kubernetes/blueprints/opencosts_bps.json +++ b/kubernetes/blueprints/opencosts_bps.json @@ -115,11 +115,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/blueprints/openshift-blueprints.json b/kubernetes/blueprints/openshift-blueprints.json index 9d567f5..9614efb 100644 --- a/kubernetes/blueprints/openshift-blueprints.json +++ b/kubernetes/blueprints/openshift-blueprints.json @@ -115,11 +115,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/full-configs/k8s-guide/k8s_guide_bps.json b/kubernetes/full-configs/k8s-guide/k8s_guide_bps.json index 3b84fd9..29b631c 100644 --- a/kubernetes/full-configs/k8s-guide/k8s_guide_bps.json +++ b/kubernetes/full-configs/k8s-guide/k8s_guide_bps.json @@ -52,11 +52,6 @@ "icon": "Deployment", "schema": { "properties": { - "workloadJson": { - "title": "Workload Json", - "type": "object", - "description": "The workloads json" - }, "availableReplicas": { "type": "number", "title": "Running Replicas", diff --git a/kubernetes/full-configs/k8s-guide/k8s_guide_config.yaml b/kubernetes/full-configs/k8s-guide/k8s_guide_config.yaml index d677950..f92ec23 100644 --- a/kubernetes/full-configs/k8s-guide/k8s_guide_config.yaml +++ b/kubernetes/full-configs/k8s-guide/k8s_guide_config.yaml @@ -48,7 +48,6 @@ resources: replicas: .spec.replicas strategy: .spec.strategy.type strategyConfig: .spec.strategy // {} - workloadJson: . relations: Namespace: .metadata.namespace + "-" + "my-cluster" title: .metadata.name @@ -75,7 +74,6 @@ resources: labels: .metadata.labels replicas: .spec.replicas strategyConfig: .spec.strategy // {} - workloadJson: . relations: Namespace: .metadata.namespace + "-" + "my-cluster" title: .metadata.name @@ -103,7 +101,6 @@ resources: labels: .metadata.labels replicas: .spec.replicas strategyConfig: .spec.strategy // {} - workloadJson: . relations: Namespace: .metadata.namespace + "-" + "my-cluster" title: .metadata.name diff --git a/kubernetes/full-configs/kubernetes_kantive_usecase.yaml b/kubernetes/full-configs/kubernetes_kantive_usecase.yaml index 26d54e7..aae0555 100644 --- a/kubernetes/full-configs/kubernetes_kantive_usecase.yaml +++ b/kubernetes/full-configs/kubernetes_kantive_usecase.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -65,7 +64,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"ReplicaSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -92,7 +90,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // null @@ -118,7 +115,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // null diff --git a/kubernetes/full-configs/lean_kubernetes_usecase.yaml b/kubernetes/full-configs/lean_kubernetes_usecase.yaml index 544231e..c676e44 100644 --- a/kubernetes/full-configs/lean_kubernetes_usecase.yaml +++ b/kubernetes/full-configs/lean_kubernetes_usecase.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} diff --git a/kubernetes/full-configs/openshift_usecase.yaml b/kubernetes/full-configs/openshift_usecase.yaml index 91e6ee1..5427bfe 100644 --- a/kubernetes/full-configs/openshift_usecase.yaml +++ b/kubernetes/full-configs/openshift_usecase.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/kubernetes_config.yaml b/kubernetes/kubernetes_config.yaml index 0bed29d..025f044 100644 --- a/kubernetes/kubernetes_config.yaml +++ b/kubernetes/kubernetes_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // "" @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // "" diff --git a/kubernetes/kubernetes_v1_config.yaml b/kubernetes/kubernetes_v1_config.yaml index 8c86c8e..66bb30c 100644 --- a/kubernetes/kubernetes_v1_config.yaml +++ b/kubernetes/kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/templates/argo-argo_rollouts-istio-kubernetes_v1_config.yaml b/kubernetes/templates/argo-argo_rollouts-istio-kubernetes_v1_config.yaml index e2b8d66..1de9c1e 100644 --- a/kubernetes/templates/argo-argo_rollouts-istio-kubernetes_v1_config.yaml +++ b/kubernetes/templates/argo-argo_rollouts-istio-kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -249,7 +245,6 @@ resources: # List of K8s resources to list, watch, and export to Port. kind: '"Rollout"' creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas - workloadJson: . strategyConfig: .spec.strategy // null availableReplicas: .status.availableReplicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/templates/argo-argo_rollouts-kubernetes_v1_config.yaml b/kubernetes/templates/argo-argo_rollouts-kubernetes_v1_config.yaml index 6439b8d..5609125 100644 --- a/kubernetes/templates/argo-argo_rollouts-kubernetes_v1_config.yaml +++ b/kubernetes/templates/argo-argo_rollouts-kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -249,7 +245,6 @@ resources: # List of K8s resources to list, watch, and export to Port. kind: '"Rollout"' creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas - workloadJson: . strategyConfig: .spec.strategy // null availableReplicas: .status.availableReplicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/templates/argo-istio-kubernetes_v1_config.yaml b/kubernetes/templates/argo-istio-kubernetes_v1_config.yaml index e59c126..535be85 100644 --- a/kubernetes/templates/argo-istio-kubernetes_v1_config.yaml +++ b/kubernetes/templates/argo-istio-kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/templates/argo-kubernetes_v1_config.yaml b/kubernetes/templates/argo-kubernetes_v1_config.yaml index c751b87..979053e 100644 --- a/kubernetes/templates/argo-kubernetes_v1_config.yaml +++ b/kubernetes/templates/argo-kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/templates/istio-kubernetes_v1_config.yaml b/kubernetes/templates/istio-kubernetes_v1_config.yaml index c0f038f..fa6c433 100644 --- a/kubernetes/templates/istio-kubernetes_v1_config.yaml +++ b/kubernetes/templates/istio-kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any diff --git a/kubernetes/templates/kubernetes_v1_config.yaml b/kubernetes/templates/kubernetes_v1_config.yaml index 8c86c8e..66bb30c 100644 --- a/kubernetes/templates/kubernetes_v1_config.yaml +++ b/kubernetes/templates/kubernetes_v1_config.yaml @@ -38,7 +38,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"Deployment"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any @@ -64,7 +63,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"DaemonSet"' - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas strategyConfig: .spec.strategy // {} @@ -89,7 +87,6 @@ resources: # List of K8s resources to list, watch, and export to Port. blueprint: '"workload"' properties: kind: '"StatefulSet"' - workloadJson: . labels: .metadata.labels creationTimestamp: .metadata.creationTimestamp strategyConfig: .spec.strategy // {} @@ -114,7 +111,6 @@ resources: # List of K8s resources to list, watch, and export to Port. icon: '"Deployment"' blueprint: '"replicaSet"' properties: - workloadJson: . creationTimestamp: .metadata.creationTimestamp replicas: .spec.replicas hasPrivileged: .spec.template.spec.containers | [.[].securityContext.privileged] | any