Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
1d909d2
Configure Alice custom inference workspace
sauagarwa Nov 12, 2026
6aaefef
Allow OpenClaw automation create commands
sauagarwa Nov 16, 2026
e41ed15
Update custom inference server
sauagarwa Nov 18, 2026
d41bc5f
Simplify container-mode saw-users entries for static GitOps
sauagarwa Nov 18, 2026
c6aa881
Resolve leftover rebase conflict in OpenShell 0.1.6 release notes
sauagarwa Nov 18, 2026
2dadb18
Add make saw-init and prepare this cluster for container workspaces
sauagarwa Nov 19, 2026
e3dab4e
Use the OpenShift-ready OpenClaw image for container workspaces
sauagarwa Nov 19, 2026
1fd2a3e
Approve the custom inference endpoint once for container workspaces
sauagarwa Nov 19, 2026
6b175af
Fix alice's audit identity and web-search secret
sauagarwa Nov 19, 2026
02145fd
Name alice's model and require it for custom-inference entries
sauagarwa Nov 19, 2026
b82caea
Remove alice's first container registration
sauagarwa Nov 19, 2026
e416694
Re-register alice as generation 2
sauagarwa Nov 19, 2026
bfeb8fe
Use the in-cluster governance interceptor build
sauagarwa Nov 19, 2026
3c267af
Keep cluster-specific values out of the shared configuration
sauagarwa Nov 19, 2026
d3f7d72
Let the RHDH portal create container workspaces from containerDefaults
sauagarwa Nov 19, 2026
8065452
Allow branch revisions only for autoApprove sites
sauagarwa Nov 19, 2026
1bef65b
Treat a repeat autoApprove enrollment as already done
sauagarwa Nov 19, 2026
d1d6319
Use OpenShell's native providers in container mode
sauagarwa Nov 20, 2026
4bac60f
Allow the provider RPCs and reuse the reconcile session for the profi…
sauagarwa Nov 20, 2026
4c2a2aa
Make the runtime image readable by its non-root user
sauagarwa Nov 20, 2026
7a710b7
Let a harness bundle set the tool-gate actions for its own MCP tools
sauagarwa Nov 20, 2026
64770a8
Give the portal's container preflight its credential bindings
sauagarwa Nov 23, 2026
93897a3
Merge container sites by key presence so a per-user false wins
sauagarwa Nov 23, 2026
f4521a9
Keep auto-approval out of production container defaults
sauagarwa Nov 23, 2026
c3eb262
Make the privileged demo NFS server an explicit opt-in
sauagarwa Nov 23, 2026
ca5c8ec
Let helm lint render saw-portal-container without credential bindings
sauagarwa Nov 23, 2026
2008e89
Expect the shared container defaults in saw-users' value files
sauagarwa Nov 23, 2026
3cec20f
Stub saw-init in the container make-dispatch test
sauagarwa Nov 23, 2026
edf7803
Require pinned chart revisions on reviewed container sites
sauagarwa Nov 23, 2026
0e446ed
Start OAuth refresh providers from material, not a stored access token
sauagarwa Nov 23, 2026
89e6373
Refuse credentialed provider profiles with unapproved endpoints
sauagarwa Nov 23, 2026
158ce82
Converge credential updates whose reply was lost
sauagarwa Nov 23, 2026
d88d861
Mark provider refresh configured only after a clean status
sauagarwa Nov 23, 2026
6592ac2
Ask proxy-era container workspaces to re-enroll explicitly
sauagarwa Nov 23, 2026
ac7ddeb
Publish the OpenShift-ready OpenClaw image from CI
sauagarwa Nov 23, 2026
1b2e18d
Use the CI-published OpenClaw image in container defaults
sauagarwa Nov 23, 2026
5af0935
Pin the published OpenShift-ready OpenClaw image
sauagarwa Nov 23, 2026
d4f7b75
Take the custom inference URL from its owner, approved by the governa…
sauagarwa Nov 23, 2026
fe412b2
Default the fixed container site wiring in saw-portal-container
sauagarwa Nov 23, 2026
dbd7bbe
Pin a test build of the Kubernetes runtime image in container defaults
sauagarwa Nov 23, 2026
61062c3
Validate harness tool rules before writing them into the gate policy
sauagarwa Nov 23, 2026
146882f
Offer "Allow always" for OpenClaw automation changes
sauagarwa Nov 23, 2026
1b861b3
Tell the agent how to retry an exec call the tool gate blocks
sauagarwa Nov 23, 2026
981a52a
Accept every spelling of automation removal and its help pages
sauagarwa Nov 23, 2026
1bd11d8
Let a profile set the custom model's thinking level
sauagarwa Nov 23, 2026
7191ddd
Mark a custom model not reasoning when its thinking is off
sauagarwa Nov 23, 2026
d53095e
Read an unquoted YAML `thinking: off` as off
sauagarwa Nov 23, 2026
43b5420
Restore the enrollment-enabled semantics the projection tests encode
sauagarwa Nov 23, 2026
c9ed0df
Stop generating the unused saw-users governed-profiles.json
sauagarwa Nov 24, 2026
32e63ca
Stop mirroring the governed proxy policy template into saw-users
sauagarwa Nov 24, 2026
ebba07c
Give the quickstart an explicit make saw-init step
sauagarwa Nov 24, 2026
12b4134
Split the README's add-a-user step into VM, container and Kata
sauagarwa Nov 24, 2026
fac2da8
Add alice (container)
sauagarwa Nov 24, 2026
4213d95
Make the container network overlay a real README step
sauagarwa Nov 24, 2026
0a6ea8c
TEMPORARY: vvkp4siy test configuration (revert before merge)
sauagarwa Nov 24, 2026
6497663
Create the projector ApplicationSet after its identity Job
sauagarwa Nov 24, 2026
b5172ca
Default the runtime image when a site sets no gateway workload
sauagarwa Nov 24, 2026
7c66fb9
Allow the router pods when the issuer is behind a LoadBalancer
sauagarwa Nov 24, 2026
0249b01
TEMPORARY: vvkp4siy overlay with router egress
sauagarwa Nov 24, 2026
09e0836
Grant image pulls only for in-cluster runtime images
sauagarwa Nov 24, 2026
1a1b1ea
Keep the admin session until the gateway trusts its CA
sauagarwa Nov 24, 2026
67bd452
Pin the runtime image with the admin trust fix
sauagarwa Nov 24, 2026
03f386a
TEMPORARY: use the in-cluster governance interceptor on vvkp4siy
sauagarwa Nov 24, 2026
2b637bc
Set up the relay registrar from the Keycloak chart
sauagarwa Nov 24, 2026
8879521
Let workspace Jobs wait for inputs from other components
sauagarwa Nov 24, 2026
bad370a
Let maintainers publish a branch build of the governance interceptor
sauagarwa Nov 24, 2026
0e8f7ae
Pin a governance interceptor that admits the mTLS operator
sauagarwa Nov 24, 2026
1352295
Let CI publish branch builds of every image the branch pins
sauagarwa Nov 24, 2026
4f4e016
Revert "TEMPORARY: use the in-cluster governance interceptor on vvkp4…
sauagarwa Nov 24, 2026
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
35 changes: 26 additions & 9 deletions .github/actions/build-push-image/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and push image
description: >-
Shared tail for the container image builds: buildx setup, ghcr.io login, and a
gated build/push (publish only on main) with GitHub Actions layer cache.
gated build/push (publish on main, or on request) with GitHub Actions layer cache.
Callers do their own checkout / values.yaml read / upstream clone as normal
steps before calling this.

Expand Down Expand Up @@ -30,6 +30,13 @@ inputs:
description: Optional extra tag pushed with :latest and :sha-<commit> (e.g. the upstream version)
required: false
default: ""
publish:
description: >-
'true' also publishes from a branch (a manual run), tagged only
:sha-<commit>; :latest and extra_tag move only from main.
Empty -> publish only on main.
required: false
default: ""
platform:
description: >-
One platform to build (e.g. linux/arm64) on a runner of that architecture.
Expand All @@ -53,23 +60,33 @@ runs:
run: |
owner=${OWNER,,}
echo "owner=$owner" >> "$GITHUB_OUTPUT"
publish=false
if [ "$PUBLISH" = true ] || { [ "$EVENT" != pull_request ] && [ "$REF" = refs/heads/main ]; }; then
publish=true
fi
echo "publish=$publish" >> "$GITHUB_OUTPUT"
{
echo "tags<<EOF"
echo "ghcr.io/$owner/$IMAGE:latest"
echo "ghcr.io/$owner/$IMAGE:sha-$SHA"
if [ -n "$EXTRA_TAG" ]; then echo "ghcr.io/$owner/$IMAGE:$EXTRA_TAG"; fi
if [ "$REF" = refs/heads/main ]; then
echo "ghcr.io/$owner/$IMAGE:latest"
if [ -n "$EXTRA_TAG" ]; then echo "ghcr.io/$owner/$IMAGE:$EXTRA_TAG"; fi
fi
echo "EOF"
} >> "$GITHUB_OUTPUT"
env:
OWNER: ${{ github.repository_owner }}
IMAGE: ${{ inputs.image_name }}
SHA: ${{ github.sha }}
EXTRA_TAG: ${{ inputs.extra_tag }}
PUBLISH: ${{ inputs.publish }}
EVENT: ${{ github.event_name }}
REF: ${{ github.ref }}

- uses: docker/setup-buildx-action@v3

- name: Log in to ghcr.io
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
if: ${{ steps.meta.outputs.publish == 'true' }}
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand All @@ -84,15 +101,15 @@ runs:
context: ${{ inputs.context }}
file: ${{ inputs.dockerfile }}
build-args: ${{ inputs.build_args }}
push: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
push: ${{ steps.meta.outputs.publish == 'true' }}
tags: ${{ steps.meta.outputs.tags }}
labels: org.opencontainers.image.source=https://github.com/${{ github.repository }}
cache-from: type=gha,scope=${{ inputs.cache_scope }}
cache-to: type=gha,mode=max,scope=${{ inputs.cache_scope }},ignore-error=true
provenance: false

- uses: ./.github/actions/verify-public-image
if: ${{ inputs.platform == '' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
if: ${{ inputs.platform == '' && steps.meta.outputs.publish == 'true' }}
with:
image: ghcr.io/${{ steps.meta.outputs.owner }}/${{ inputs.image_name }}:sha-${{ github.sha }}

Expand All @@ -115,13 +132,13 @@ runs:
platforms: ${{ inputs.platform }}
tags: ghcr.io/${{ steps.meta.outputs.owner }}/${{ inputs.image_name }}
labels: org.opencontainers.image.source=https://github.com/${{ github.repository }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=${{ steps.meta.outputs.publish == 'true' }}
cache-from: type=gha,scope=${{ inputs.cache_scope }}-${{ steps.plat.outputs.suffix }}
cache-to: type=gha,mode=max,scope=${{ inputs.cache_scope }}-${{ steps.plat.outputs.suffix }},ignore-error=true
provenance: false

- name: Record digest
if: inputs.platform != '' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
if: inputs.platform != '' && steps.meta.outputs.publish == 'true'
shell: bash
run: |
mkdir -p "$RUNNER_TEMP/digests"
Expand All @@ -130,7 +147,7 @@ runs:
DIGEST: ${{ steps.digest-build.outputs.digest }}

- uses: actions/upload-artifact@v4
if: inputs.platform != '' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
if: inputs.platform != '' && steps.meta.outputs.publish == 'true'
with:
name: digests-${{ inputs.image_name }}-${{ steps.plat.outputs.suffix }}
path: ${{ runner.temp }}/digests/*
Expand Down
13 changes: 10 additions & 3 deletions .github/actions/merge-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,25 @@ runs:
owner=${OWNER,,}
echo "owner=$owner" >> "$GITHUB_OUTPUT"
repo="ghcr.io/$owner/$IMAGE"
tags=(-t "$repo:latest" -t "$repo:sha-$SHA")
if [ -n "$EXTRA_TAG" ]; then tags+=(-t "$repo:$EXTRA_TAG"); fi
tags=(-t "$repo:sha-$SHA")
# Moving tags only from main; a branch publish is reachable by commit.
if [ "$REF" = refs/heads/main ]; then
tags+=(-t "$repo:latest")
if [ -n "$EXTRA_TAG" ]; then tags+=(-t "$repo:$EXTRA_TAG"); fi
fi
sources=()
for d in *; do sources+=("$repo@sha256:$d"); done
[ "${#sources[@]}" -ge 2 ] || { echo "expected a digest per platform, got: ${sources[*]}" >&2; exit 1; }
docker buildx imagetools create "${tags[@]}" "${sources[@]}"
docker buildx imagetools inspect "$repo:latest"
docker buildx imagetools inspect "$repo:sha-$SHA"
echo "### $IMAGE" >> "$GITHUB_STEP_SUMMARY"
docker buildx imagetools inspect "$repo:sha-$SHA" --format '`{{.Manifest.Digest}}`' >> "$GITHUB_STEP_SUMMARY"
env:
OWNER: ${{ github.repository_owner }}
IMAGE: ${{ inputs.image_name }}
SHA: ${{ github.sha }}
EXTRA_TAG: ${{ inputs.extra_tag }}
REF: ${{ github.ref }}

- uses: ./.github/actions/verify-public-image
with:
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/build-governance-interceptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
- tests/charts/test_governance_interceptor_image.py
- image-builder-charts/helm/governance-interceptor-image/**
workflow_dispatch:
inputs:
publish:
description: Publish this branch's build as ghcr.io/<owner>/governance-interceptor:sha-<commit>
type: boolean
default: false

permissions:
contents: read
Expand All @@ -31,7 +36,7 @@ jobs:
# One native build per architecture (no QEMU), each pushed by digest; the
# merge job joins them into one multi-arch :latest / :sha-<commit> tag.
build:
if: github.event_name == 'pull_request' || github.ref != 'refs/heads/main'
if: github.event_name == 'pull_request' || (github.ref != 'refs/heads/main' && !inputs.publish)
strategy: &platforms
# Each architecture reports its own result; merge still needs both.
fail-fast: false
Expand Down Expand Up @@ -78,7 +83,8 @@ jobs:
# the interceptor must match the SAW gateways' OpenShell release.
extra_tag: ${{ steps.params.outputs.openshell_ref }}
platform: ${{ matrix.platform }}
registry_token: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && secrets.GITHUB_TOKEN || '' }}
publish: ${{ inputs.publish && 'true' || '' }}
registry_token: ${{ ((github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish) && secrets.GITHUB_TOKEN || '' }}

# Compile the OpenShift build source too, including its behavioral
# tests, on each architecture. This targets the builder stage; no
Expand Down Expand Up @@ -121,7 +127,7 @@ jobs:
provenance: false

publish:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
if: (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish
permissions: {contents: read, packages: write}
strategy: *platforms
runs-on: ${{ matrix.runner }}
Expand All @@ -130,7 +136,7 @@ jobs:
merge:
needs: publish
permissions: {contents: read, packages: write}
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
if: (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/build-kubernetes-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ on:
- .github/actions/merge-image/**
- .github/actions/verify-public-image/**
workflow_dispatch:
inputs:
publish:
description: Publish this branch's build as ghcr.io/<owner>/saw-kubernetes-runtime:sha-<commit>
type: boolean
default: false

permissions:
contents: read
Expand All @@ -39,7 +44,7 @@ concurrency:

jobs:
build:
if: github.event_name == 'pull_request' || github.ref != 'refs/heads/main'
if: github.event_name == 'pull_request' || (github.ref != 'refs/heads/main' && !inputs.publish)
strategy: &platforms
fail-fast: false
matrix:
Expand All @@ -58,9 +63,10 @@ jobs:
dockerfile: kubernetes-runtime/Containerfile
cache_scope: saw-kubernetes-runtime
platform: ${{ matrix.platform }}
registry_token: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && secrets.GITHUB_TOKEN || '' }}
publish: ${{ inputs.publish && 'true' || '' }}
registry_token: ${{ ((github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish) && secrets.GITHUB_TOKEN || '' }}
publish:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
if: (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish
permissions: {contents: read, packages: write}
strategy: *platforms
runs-on: ${{ matrix.runner }}
Expand All @@ -69,7 +75,7 @@ jobs:
merge:
needs: publish
permissions: {contents: read, packages: write}
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
if: (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
106 changes: 106 additions & 0 deletions .github/workflows/build-openclaw-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Build the OpenShift-ready OpenClaw image

# Publishes ghcr.io/<repository owner>/saw-openclaw (linux/amd64 and
# linux/arm64): the notebook BOM's stock OpenClaw image with /sandbox
# searchable by OpenShift namespace UIDs (images/saw-openclaw/Containerfile).
# Pin the published digest in containerDefaults.profileImageOverrides.

on:
push:
branches: [main]
paths:
- images/saw-openclaw/**
- charts/saw-bom/profiles/data-science/default/sandbox.yaml
- .github/workflows/build-openclaw-image.yml
- .github/actions/build-push-image/**
- .github/actions/merge-image/**
pull_request:
paths:
- images/saw-openclaw/**
- charts/saw-bom/profiles/data-science/default/sandbox.yaml
- .github/workflows/build-openclaw-image.yml
- .github/actions/build-push-image/**
- .github/actions/merge-image/**
workflow_dispatch:
inputs:
publish:
description: Publish this branch's build as ghcr.io/<owner>/saw-openclaw:sha-<commit>
type: boolean
default: false

permissions:
contents: read

concurrency:
group: build-openclaw-image-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
if: github.event_name == 'pull_request' || (github.ref != 'refs/heads/main' && !inputs.publish)
strategy: &platforms
fail-fast: false
matrix:
include:
- platform: linux/amd64
runner: ubuntu-latest
- platform: linux/arm64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
steps: &build_steps
- uses: actions/checkout@v4
- name: Resolve the stock image and its user
id: source
env:
PLATFORM: ${{ matrix.platform }}
run: |
set -euo pipefail
image=$(yq -r '.spec.sandboxes[] | select(.name == "notebook") | .image' charts/saw-bom/profiles/data-science/default/sandbox.yaml)
[[ "$image" =~ ^[a-z0-9][a-z0-9./:_-]+@sha256:([0-9a-f]{64})$ ]] || { echo "notebook image must be pinned by digest: $image" >&2; exit 1; }
digest="${BASH_REMATCH[1]}"
user=$(docker buildx imagetools inspect "$image" --format '{{json .Image}}' |
jq -er --arg p "$PLATFORM" 'if has("config") then .config.User else .[$p].config.User end | select(type == "string" and length > 0)')
[[ "$user" =~ ^[A-Za-z0-9_-]+(:[A-Za-z0-9_-]+)?$ && "${user%%:*}" != root && "${user%%:*}" != 0 ]] || { echo "stock image must declare a non-root USER: $user" >&2; exit 1; }
{
echo "image=$image"
echo "user=$user"
echo "tag=src-${digest:0:12}"
} >> "$GITHUB_OUTPUT"
- uses: ./.github/actions/build-push-image
with:
image_name: saw-openclaw
context: images/saw-openclaw
dockerfile: images/saw-openclaw/Containerfile
cache_scope: saw-openclaw
platform: ${{ matrix.platform }}
publish: ${{ inputs.publish && 'true' || '' }}
build_args: |
SOURCE_IMAGE=${{ steps.source.outputs.image }}
IMAGE_USER=${{ steps.source.outputs.user }}
registry_token: ${{ ((github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish) && secrets.GITHUB_TOKEN || '' }}

publish:
if: (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish
permissions: {contents: read, packages: write}
strategy: *platforms
runs-on: ${{ matrix.runner }}
steps: *build_steps

merge:
needs: publish
permissions: {contents: read, packages: write}
if: (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || inputs.publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Source tag
id: source
run: |
image=$(yq -r '.spec.sandboxes[] | select(.name == "notebook") | .image' charts/saw-bom/profiles/data-science/default/sandbox.yaml)
digest="${image##*@sha256:}"
echo "tag=src-${digest:0:12}" >> "$GITHUB_OUTPUT"
- uses: ./.github/actions/merge-image
with:
image_name: saw-openclaw
extra_tag: ${{ steps.source.outputs.tag }}
registry_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ include Makefile-quickstart
# SAW: a default StorageClass must exist before the GitOps apply provisions
# the VM disks (they set no storageClassName). Interactive on a TTY; offers to
# reuse an existing class or enable HPP. See scripts/storage-class-check.sh.
pattern-install: storage-class-check
# saw-init adds the container-mode checks when overrides/saw-users.yaml has
# container or kata users (scripts/saw-init.sh).
pattern-install: saw-init

# Bootstrap stock GitOps before the framework selects its Argo CD namespace.
.PHONY: prepare-gitops
Expand Down
10 changes: 9 additions & 1 deletion Makefile-quickstart
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ endif
governance-interceptor-build governance-interceptor-build-local \
keycloak-deploy keycloak-delete keycloak-check keycloak-issuer \
keycloak-register keycloak-redirects keycloak-redirects-sync \
keycloak-passwords keycloak-harden keycloak-session-max keycloak-add-users keycloak-add-user keycloak-password keycloak-reset-password \
keycloak-passwords keycloak-harden keycloak-session-max keycloak-add-users keycloak-add-user keycloak-password keycloak-reset-password keycloak-user-info saw-init \
login whoami logout saw-create saw-configure saw-list saw-logs saw-status \
saw-restart saw-restart-pending saw-vm-ssh saw-ssh saw-tui saw-gui saw-delete \
sandbox-pre-delete quickstart-delete status test test-deployment test-dependencies test-pattern-e2e test-pattern-e2e-install test-pattern-e2e-live test-pattern-e2e-cleanup test-harness-e2e lint \
Expand All @@ -140,6 +140,9 @@ quickstart-prereqs-check: ## Check tools, capacity, CNV, and RHBK before quickst
storage-class-check: ## Ensure a default StorageClass exists for the VM disks (offers to reuse one or enable HPP)
@$(SCRIPTS_DIR)/storage-class-check.sh

saw-init: storage-class-check ## Prepare the cluster before install: storage, and for container/kata users the APIs, a shared-filesystem class (offers EFS on AWS) and the runtime image
@$(SCRIPTS_DIR)/saw-init.sh

check-oidc-ca: ## Check if the OIDC issuer needs a CA bundle
@$(SCRIPTS_DIR)/check-oidc-ca.sh

Expand Down Expand Up @@ -372,6 +375,10 @@ keycloak-password: ## Copy a user's password to the clipboard / name its Secret
@if [ -z "$(KC_USER)" ]; then echo "Error: KC_USER is required. Pass KC_USER=alice." >&2; exit 1; fi
@$(SCRIPTS_DIR)/keycloak-users.sh password $(if $(SHOW),--show) "$(KC_USER)"

keycloak-user-info: ## Show a user's Keycloak subject (ownerSubject), enabled flag and email (KC_USER=alice)
@if [ -z "$(KC_USER)" ]; then echo "Error: KC_USER is required. Pass KC_USER=alice." >&2; exit 1; fi
@$(KC_USERS_ENV) $(SCRIPTS_DIR)/keycloak-users.sh user-info "$(KC_USER)"

keycloak-reset-password: ## Reset one user's password in a Secret (KC_USER=alice)
@if [ -z "$(KC_USER)" ]; then echo "Error: KC_USER is required. Pass KC_USER=alice." >&2; exit 1; fi
@$(SCRIPTS_DIR)/keycloak-users.sh reset-password "$(KC_USER)"
Expand Down Expand Up @@ -435,6 +442,7 @@ check-container-topology: ## Compare the reviewed site network overlay with live

saw-create: .check-saw-name .check-deployment-mode ## Provision one SAW using DEPLOYMENT_MODE=vm, container or kata
@if [ "$(DEPLOYMENT_MODE)" != vm ]; then \
$(SCRIPTS_DIR)/saw-init.sh && \
$(or $(PYTHON),uv run --locked python) $(SCRIPTS_DIR)/container-workspace.py apply; \
else $(SCRIPTS_DIR)/openshell-saw-create.sh; fi

Expand Down
Loading
Loading