2.9 KiB
Grafana13.3.1 initializer and private consumers
The actual cached image is bound to linux/amd64 ID1c88285f1dd391a62232c010e6c224846e6a73bdc583b3365be2eba614b7919e. Its native /run.sh was read before first startup: GF_*__FILE is converted to the file content and the suffixed variable removed; supplying both forms is an error. Our credentials are exact single-file read-only mounts, never command arguments.
Source-binding limitation: actual native health reports build commit da3aa3ff574e7dbbf808c66b6daa744defed0441. The public v13.3.1 tag dereferences to5db6ba887630c7fa12e5bfd063f2fa854025468c. Matching build source is unavailable through the checked public raw/API routes. The tag sources below are reference only, not proof of the compiled build's minimum or strong-password policy. Native successful authentication with the captured64hex admin credential and native UID-detail/health readers are empirical checks on the exact cached image.
The reference-tag SQLStore initializer checks existing users before creating the configured admin. Its createUser hashes the provided nonempty password. This reference bootstrap path directly casts the password and does not call the ordinary password-policy validator.
The reference-tag ordinary password validator and defaults describe four-character minimum with strong policy off, or twelve plus character classes when enabled. These constraints are not attributed to the unavailable compiled source. The existing lab7 bootstrap already captured a random256-bit,64hex-character admin password in the encrypted services envelope and exact consumer file in the same process. Before first startup prepareGrafana verifies exact equality without printing either value. No admin password is generated again or implicitly reset.
A separate random256-bit Grafana secret_key is captured in grafana-security.enc before publishing the narrow grafana-secret-key file. Existing encrypted/key bytes are reused with exclusive-or-identical preservation. This replaces the upstream shared default signing/encryption key. Query ServiceAccount remains separate from the Grafana operator and OpenObserve owner. Native account200/403 guards run before Grafana startup. Configuration disables plugin preinstall/update/key retrieval and uses only the frozen artifacts. Cache preparation performs no network download; a universal runtime-egress byte measurement is not claimed.
Current lab7 alert group interval10s matches the native default scheduler minimum10s; no1s scheduler override is needed. Actual alert incident acceptance remains separate from config/source validation.