Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
'overlay-paths': |
tests/fixtures/flux-render-good
'mode': 'strict'
'crd-catalog-source': 'JorisJonkers-dev/platform-blueprints'
'crd-catalog-source': 'JorisJonkers-dev/flux-modules'
'crd-catalog-ref': '${{ github.head_ref || github.ref_name }}'

'pipeline-complete':
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform-blueprints
# flux-modules

Reusable Kubernetes, Flux, storage, edge, CRD schema, backup, restore, and
validation blueprints for JorisJonkers-dev platform repositories.
Expand All @@ -16,7 +16,7 @@ may contain:
- Documentation, examples, tests, CI, and release metadata for this artifact.

Reusable host modules and Nix helpers live in
`JorisJonkers-dev/nix-platform`. Consumer repositories continue to own host
`JorisJonkers-dev/nixos-modules`. Consumer repositories continue to own host
configuration, deploy nodes, inventories, secrets, app manifests, generated
manifests, locks, and deployment workflows.

Expand Down Expand Up @@ -110,7 +110,7 @@ List and dry-run a manifest-driven remote filesystem backup:
```bash
scripts/backup/backup-service-state.sh \
--manifest examples/backup/manifest.tsv \
--output-dir /tmp/platform-blueprints-backup \
--output-dir /tmp/flux-modules-backup \
--dry-run
```

Expand All @@ -119,7 +119,7 @@ Capture service-native snapshot plugins declared by the consumer:
```bash
scripts/backup/backup-service-snapshots.sh \
--plugins examples/backup/snapshot-plugins.tsv \
--output-dir /tmp/platform-blueprints-snapshots \
--output-dir /tmp/flux-modules-snapshots \
--dry-run
```

Expand Down
2 changes: 1 addition & 1 deletion docs/strict-flux-render-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
overlay-paths: |
path/to/flux/overlay
mode: strict
crd-catalog-source: JorisJonkers-dev/platform-blueprints
crd-catalog-source: JorisJonkers-dev/flux-modules
crd-catalog-ref: v1.1.0
```

Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"release-type": "simple",
"packages": {
".": {
"package-name": "platform-blueprints",
"package-name": "flux-modules",
"changelog-path": "CHANGELOG.md",
"include-component-in-tag": false,
"bump-minor-pre-major": true
Expand Down
2 changes: 1 addition & 1 deletion schemas/crds/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pinned CRD Schema Catalog

This catalog is the offline default used by `scripts/validate-flux-render.sh`.
It pins the CRD groups that platform-blueprints commonly emits so kubeconform
It pins the CRD groups that flux-modules commonly emits so kubeconform
does not need to fetch CRD schemas during validation.

Pin date: 2026-06-10
Expand Down
2 changes: 1 addition & 1 deletion scripts/restore/restore-http-api-export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ require_command "${KUBECTL}"
require_command "${CURL}"
"${KUBECTL}" get service -n "${NAMESPACE}" "${SERVICE}" >/dev/null

port_forward_log="$(mktemp "${TMPDIR:-/tmp}/platform-blueprints-port-forward.XXXXXX.log")"
port_forward_log="$(mktemp "${TMPDIR:-/tmp}/flux-modules-port-forward.XXXXXX.log")"
cleanup() {
if [[ -n "${PORT_FORWARD_PID:-}" ]]; then
kill "${PORT_FORWARD_PID}" >/dev/null 2>&1 || true
Expand Down
2 changes: 1 addition & 1 deletion scripts/restore/restore-pvc-archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ metadata:
name: ${POD_NAME}
namespace: ${NAMESPACE}
labels:
app.kubernetes.io/managed-by: platform-blueprints-restore-toolkit
app.kubernetes.io/managed-by: flux-modules-restore-toolkit
spec:
restartPolicy: Never
containers:
Expand Down
2 changes: 1 addition & 1 deletion scripts/restore/restore-vault-raft-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ VAULT_TOKEN_VALUE="$(read_token)"
echo "Restoring Vault raft snapshot from ${SNAPSHOT}"
"${KUBECTL}" exec -i -n "${NAMESPACE}" -c "${CONTAINER_NAME}" "${POD_NAME}" -- \
env "VAULT_ADDR=${VAULT_ADDR}" "VAULT_TOKEN=${VAULT_TOKEN_VALUE}" \
sh -ec 'cat >/tmp/platform-blueprints-vault-raft.snapshot && vault operator raft snapshot restore -force /tmp/platform-blueprints-vault-raft.snapshot && rm -f /tmp/platform-blueprints-vault-raft.snapshot' \
sh -ec 'cat >/tmp/flux-modules-vault-raft.snapshot && vault operator raft snapshot restore -force /tmp/flux-modules-vault-raft.snapshot && rm -f /tmp/flux-modules-vault-raft.snapshot' \
< "${SNAPSHOT}"

echo "Vault raft snapshot restore finished: ${NAMESPACE}/${POD_NAME}"
4 changes: 2 additions & 2 deletions scripts/validate-flux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ if [[ "${enable_helm}" == "true" ]]; then
fi
fi

render_output="$(mktemp "${TMPDIR:-/tmp}/platform-blueprints-flux.XXXXXX.yaml")"
render_output="$(mktemp "${TMPDIR:-/tmp}/flux-modules-flux.XXXXXX.yaml")"
trap 'rm -f "${render_output}"' EXIT

echo "==> kustomize build ${cluster_path}"
Expand All @@ -203,7 +203,7 @@ if [[ "${enable_helm}" == "true" ]]; then
fi

echo "==> drop non-resource documents before kubeconform"
stripped_output="$(mktemp "${TMPDIR:-/tmp}/platform-blueprints-flux-stripped.XXXXXX.yaml")"
stripped_output="$(mktemp "${TMPDIR:-/tmp}/flux-modules-flux-stripped.XXXXXX.yaml")"
strip_non_resource_documents "${render_output}" "${stripped_output}"
rm -f "${render_output}"
render_output="${stripped_output}"
Expand Down
4 changes: 2 additions & 2 deletions scripts/validate-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,15 @@ check_legacy_brand_references() {

check_output_names() {
local output_name_regex
output_name_regex="platform-blueprints-platform""-blueprints|platform""Blueprints[.]platform""Blueprints"
output_name_regex="flux-modules-platform""-blueprints|platform""Blueprints[.]platform""Blueprints"
if grep --line-number -R -E "${output_name_regex}" README.md docs scripts tests packs examples skeletons fixtures schemas .github; then
record_failure "Found doubled platform marker in public outputs or docs"
fi
}

check_vault_policy_compiler() {
local tmpdir
tmpdir="$(mktemp -d "${TMPDIR:-/tmp}/platform-blueprints-vault.XXXXXX")"
tmpdir="$(mktemp -d "${TMPDIR:-/tmp}/flux-modules-vault.XXXXXX")"
trap 'rm -rf "${tmpdir}"' RETURN

python3 scripts/vault/compile-vault-bootstrap-policy.py \
Expand Down
Loading