Skip to content

Commit

Permalink
Merge pull request #98 from port-labs/PORT-7377-remove-status-conditi…
Browse files Browse the repository at this point in the history
…ons-from-the-v1-pods

removed status.conditions from v1/pods in all examples
  • Loading branch information
stavbernazport authored May 5, 2024
2 parents 2d2b10f + 2204ad6 commit f6fd165
Show file tree
Hide file tree
Showing 62 changed files with 0 additions and 163 deletions.
6 changes: 0 additions & 6 deletions kubernetes/blueprints/argo-argo_rollouts-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/argo-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/fluxcd-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/istio-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/kubernetes_complete_usecase_bps.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/kubernetes_knative_usecase.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/kyverno-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/opencosts_bps.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/openshift-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
6 changes: 0 additions & 6 deletions kubernetes/blueprints/trivy-blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,6 @@
"icon": "Service",
"schema": {
"properties": {
"conditions": {
"type": "array",
"title": "Conditions",
"default": [],
"description": "Pod's conditions"
},
"labels": {
"type": "object",
"title": "Labels",
Expand Down
1 change: 0 additions & 1 deletion kubernetes/full-configs/kubernetes_kantive_usecase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/full-configs/openshift_usecase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/kubernetes_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: '(.metadata.ownerReferences[0].name | split("-") | .[:-1] | join("-")) + "-" + "Deployment" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME'
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand All @@ -137,7 +136,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
2 changes: 0 additions & 2 deletions kubernetes/kubernetes_v1_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
replicaSet: .metadata.ownerReferences[0].name + "-" + "ReplicaSet" + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME // ""
Expand All @@ -162,7 +161,6 @@ resources: # List of K8s resources to list, watch, and export to Port.
phase: .status.phase
labels: .metadata.labels
containers: (.spec.containers | map({image, resources})) + .status.containerStatuses | group_by(.image) | map(add)
conditions: .status.conditions
relations:
workload: .metadata.ownerReferences[0].name + "-" + .metadata.ownerReferences[0].kind + "-" + .metadata.namespace + "-" + env.CLUSTER_NAME
Node: (.spec.nodeName) | (split(".")|join("_")) + "-" + env.CLUSTER_NAME
Expand Down
Loading

0 comments on commit f6fd165

Please sign in to comment.