fix(wireless): support write-only PSK rotation revisions #1
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/psk-revision"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Small downstream fork of wncservices/terraform-provider-omada, preserving upstream history and MPL-2.0 licensing. Baseline:
14aff94242. Reviewed source pin:7d6d1f2.Add optional non-secret psk_revision (>=1): revision changes trigger in-place password rotation; unchanged revisions suppress password writes during unrelated updates. Missing keys are rejected during planning and again at apply. Omitted revision preserves legacy behavior. Imports leave the revision unset. No controller API expansion or production ownership changes.
Regression coverage: create, password-only rotation with Update action and stable SSID ID, unchanged-key revision no-op, unrelated update preservation, missing/invalid key revision rejection, import, and absence of ephemeral passwords from the entire plan and state. Generated documentation and ephemeral-variable example included.
Validation: full unit and mock-controller acceptance suite with Terraform 1.16.4; all wireless acceptance tests with exact cluster OpenTofu 1.12.1 (TF_ACC_PROVIDER_NAMESPACE=wncservices); go vet; golangci-lint 2.14.0 (0 issues); go generate; gofmt and git diff checks. Go 1.26.8, CGO_ENABLED=0. No real controller writes or network changes. Upstream submission follows from the same commit. No binary release or production adoption yet.
Superseded by merged PR #2, which contains the same PSK fix plus Forgejo-specific validation/packaging. Combined hosted CI run #7 passed on image-s. Upstream PR 79 remains the focused PSK patch without downstream CI.
Pull request closed