feat: include OCI in state status inspection
This commit is contained in:
parent
69a7e4a519
commit
b780ca2312
2
jeannie
2
jeannie
|
|
@ -156,7 +156,7 @@ Recovery And State
|
||||||
drill-gitea-restore Run the Gitea restore drill.
|
drill-gitea-restore Run the Gitea restore drill.
|
||||||
drill-pihole-restore Run the Pi-hole restore drill.
|
drill-pihole-restore Run the Pi-hole restore drill.
|
||||||
state-backup Back up local OpenTofu state files.
|
state-backup Back up local OpenTofu state files.
|
||||||
state status [STACK] [--json] Inspect OpenTofu locks and drift without changing state.
|
state status [STACK] [--json] Inspect OpenTofu locks and drift (provisioning, cluster, platform, apps, edge, oci).
|
||||||
pimox {status [VMID]|console VMID} Inspect Pimox VMs or open a serial emergency console.
|
pimox {status [VMID]|console VMID} Inspect Pimox VMs or open a serial emergency console.
|
||||||
|
|
||||||
Focused Doctors
|
Focused Doctors
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ STACKS = {
|
||||||
"platform": "bootstrap/platform",
|
"platform": "bootstrap/platform",
|
||||||
"apps": "bootstrap/apps",
|
"apps": "bootstrap/apps",
|
||||||
"edge": "bootstrap/edge",
|
"edge": "bootstrap/edge",
|
||||||
|
"oci": "bootstrap/oci",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -76,7 +77,7 @@ def inspect_stack(repo: Path, name: str, relative: str) -> dict:
|
||||||
|
|
||||||
def main() -> int:
|
def main() -> int:
|
||||||
parser = argparse.ArgumentParser(description="Inspect OpenTofu state locks and drift without changing state")
|
parser = argparse.ArgumentParser(description="Inspect OpenTofu state locks and drift without changing state")
|
||||||
parser.add_argument("stack", nargs="?", help="provisioning, cluster, platform, apps, edge, or bootstrap path")
|
parser.add_argument("stack", nargs="?", help="provisioning, cluster, platform, apps, edge, oci, or bootstrap path")
|
||||||
parser.add_argument("--json", action="store_true", dest="as_json")
|
parser.add_argument("--json", action="store_true", dest="as_json")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if args.stack and args.stack not in STACKS and args.stack not in STACKS.values():
|
if args.stack and args.stack not in STACKS and args.stack not in STACKS.values():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue