Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-audit-logs
difficulty: easy
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "gather_audit_logs"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with the gather_command set to "/usr/bin/gather_audit_logs" to plan collecting audit logs from my OpenShift cluster.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-custom-images
difficulty: medium
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "ose-must-gather"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with images set to "registry.redhat.io/openshift4/ose-must-gather:v4.15,registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator:latest" to plan a must-gather using custom images for both the platform and logging operator.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-custom-namespace
difficulty: easy
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "my-debug-namespace"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with the namespace set to "my-debug-namespace" to plan a must-gather collection.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-default
difficulty: easy
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "must-gather"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with default parameters to generate a must-gather collection plan for my OpenShift cluster.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-host-network
difficulty: easy
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "hostNetwork"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with host_network set to "true" and keep_resources set to "true" to plan a must-gather that uses host networking and keeps pod resources after collection.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-node-selector
difficulty: medium
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "node-role.kubernetes.io/worker"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with a node_selector of "node-role.kubernetes.io/worker=true" to plan a must-gather that runs only on worker nodes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: Task
metadata:
labels:
suite: openshift
name: plan-mustgather-timeout-since
difficulty: medium
steps:
setup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No setup needed - plan_mustgather is a prompt that generates a plan
verify:
contains: "timeout"
cleanup:
inline: |-
#!/usr/bin/env bash
set -euo pipefail
# No cleanup needed - plan_mustgather only generates a plan without applying
prompt:
inline: Use the plan_mustgather prompt with a timeout of "30m" and since set to "2h" to plan a must-gather that only collects data from the last 2 hours and times out after 30 minutes.