40 Commits

Author SHA1 Message Date
claude dd79ab3b1b chore: update to phpMyAdmin 5.2.3-fpm-alpine, nginx 1.31.1-alpine-perl 2026-05-25 03:00:19 +00:00
claude e753f2e5a7 chore: update to phpMyAdmin 5.2.3-fpm-alpine, nginx 1.31.0-alpine-perl 2026-05-18 03:00:34 +00:00
claude 96cac05191 fix: always inject PMA_BLOWFISH_SECRET and preserve it across upgrades
Helm Chart Release / release-chart (push) Successful in 4s
Update Docker Image Tags and Release Helm Chart / update-and-release (push) Successful in 10s
Two bugs caused the "temporary key" warning in phpMyAdmin:

1. deployment.yaml: PMA_BLOWFISH_SECRET env var was only injected when
   blowfishSecret or existingSecret was explicitly set. With default empty
   values, the env var was never passed to the container, so phpMyAdmin
   fell back to an empty string and auto-generated a temporary key.
   Fix: always inject PMA_BLOWFISH_SECRET since the Secret is always created.

2. secret.yaml: randAlphaNum generated a new random value on every
   helm upgrade, invalidating all cookies and logging out users on every
   deployment.
   Fix: use lookup to check if the Secret already exists and reuse its
   value; only generate a new random value on first install.

Also add checksum/secret annotation to trigger pod rollout when the
secret changes (e.g. when blowfishSecret value is updated in values.yaml).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 12:23:18 +09:00
claude be7671b55b fix: fix backup CronJob template bugs
Helm Chart Release / release-chart (push) Successful in 4s
- Fix MYSQL_HOST/PORT: were referencing non-existent .Values.backup.mysql.host/port;
  now correctly read from .Values.phpmyadmin.hosts[0] as documented in README
- Remove broken BACKUP_TIMESTAMP env var (shell command substitution does not
  execute in k8s env vars; timestamp is already defined inside the script)
- Fix NFS readOnly: was always outputting "readOnly: false" even when
  .Values.backup.nfs.readOnly was true; now renders the actual value
- Add MYSQL_HISTFILE=/dev/null to prevent mysql client from writing history
  file when readOnlyRootFilesystem: true
- Fix variable name collision: renamed shell var DATABASES -> DB_LIST in the
  all-databases branch to avoid conflict with the DATABASES env var
- Use /bin/bash (available in mysql:8.0 Debian image) for set -euo pipefail
  and local keyword support
- Split retention find into separate *.sql and *.sql.gz patterns
- Add -mindepth 1 to empty dir cleanup to avoid removing the root backup dir

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 08:04:30 +09:00
claude 85a22e4d34 fix: fix Helm release workflow and add CLAUDE.md
Helm Chart Release / release-chart (push) Successful in 5s
Update Docker Image Tags and Release Helm Chart / update-and-release (push) Successful in 9s
- Replace broken helmchart/repo checkout+index.yaml approach with
  Gitea Package Registry upload (matching phpfpm pattern)
- Fix release condition: release only on phpMyAdmin update, not nginx-only
- Add release_needed output separate from update_needed
- Add duplicate tag/release guard before creation
- Add jq availability check
- Add env vars REGISTRY_URL and OWNER
- Fix git user to Claude / claude@cafepieters.com
- Add CLAUDE.md with git info, release rules, and PHP runtime note

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 11:43:01 +09:00
Gitea Actions Bot 4db9dd3d91 chore: update to phpMyAdmin 5.2.3, nginx 1.30.0-alpine-perl 2026-04-20 03:00:17 +00:00
Gitea Actions Bot 6d944b0f53 chore: update to phpMyAdmin 5.2.3, nginx 1.29.8-alpine-perl 2026-04-13 03:00:23 +00:00
Gitea Actions Bot 5b53c91af1 chore: update to phpMyAdmin 5.2.3, nginx 1.29.7-alpine-perl 2026-03-30 03:00:16 +00:00
Gitea Actions Bot a81f82668d chore: update to phpMyAdmin 5.2.3, nginx 1.29.6-alpine-perl 2026-03-16 03:00:25 +00:00
Gitea Actions Bot f67af7c01e chore: update to phpMyAdmin 5.2.3, nginx 1.29.5-alpine-perl v5.2.3 2026-02-09 03:00:27 +00:00
pieter 04628452c9 .gitea/workflows/image-update-and-release.yaml を更新
Helm Chart Release / release-chart (push) Successful in 12s
Update Docker Image Tags and Release Helm Chart / update-and-release (push) Failing after 56s
2026-02-06 23:52:21 +00:00
pieter 0e682b9fd1 .gitea/workflows/image-update-and-release.yaml を追加
Helm Chart Release / release-chart (push) Successful in 12s
2026-02-06 23:49:47 +00:00
pieter 2130a9a5d3 定期バックアップ機能の追加
Helm Chart Release / release-chart (push) Successful in 11s
2026-02-06 23:21:32 +00:00
pieter c17fbc9fd4 定期バックアップ機能の追加
Helm Chart Release / release-chart (push) Failing after 10s
2026-02-06 23:11:49 +00:00
pieter 1fb2701f53 定期バックアップ機能の追加
Helm Chart Release / release-chart (push) Failing after 10s
2026-02-05 07:14:14 +00:00
pieter b82c6c399f 定期バックアップ機能の追加
Helm Chart Release / release-chart (push) Failing after 10s
2026-02-05 07:13:37 +00:00
pieter 91f8515e7f template/backup-pvc.yaml を削除
Helm Chart Release / release-chart (push) Failing after 10s
2026-02-05 07:13:08 +00:00
pieter baa988dad1 定期バックアップ機能の追加
Helm Chart Release / release-chart (push) Failing after 10s
2026-02-05 07:12:09 +00:00
pieter 3d01640ab6 定期バックアップ機能の追加
Helm Chart Release / release-chart (push) Failing after 11s
2026-02-05 07:11:12 +00:00
pieter cbd01fa316 .gitea/workflows/helm-release.yaml を追加 2025-11-25 04:47:02 +00:00
pieter 9e5684b9ab templates/deployment.yaml を更新 2025-11-20 07:24:49 +00:00
pieter 7b212558d3 Chart.yaml を更新 2025-11-20 07:17:19 +00:00
pieter 7f4732b3f0 Chart.yaml を更新 2025-11-20 07:16:15 +00:00
pieter ea67a34a33 templates/deployment.yaml を更新 2025-11-20 06:58:05 +00:00
pieter 319c2186c0 templates/service.yaml を更新 2025-11-20 06:57:31 +00:00
pieter 927aa139f8 templates/nginx-configmap.yaml を追加 2025-11-20 06:57:04 +00:00
pieter e7c0fb56e7 templates/configmap.yaml を更新 2025-11-20 06:56:09 +00:00
pieter 102d2579ee templates/secret.yaml を更新 2025-11-20 06:55:41 +00:00
pieter 259df8e919 templates/serviceaccount.yaml を追加 2025-11-20 06:54:55 +00:00
pieter 5113cdb571 templates/ingress.yaml を更新 2025-11-20 06:54:00 +00:00
pieter d1cbf1e2c1 templates/pvc.yaml を更新 2025-11-20 06:53:06 +00:00
pieter a8bc018d8e templates/hpa.yaml を追加 2025-11-20 06:52:29 +00:00
pieter 71cb550cec templates/pdb.yaml を追加 2025-11-20 06:51:51 +00:00
pieter 57ca343f1a templates/networkPolicy.yaml を追加 2025-11-20 06:51:19 +00:00
pieter c0f7fe5d57 templates/_helpers.tpl を更新 2025-11-20 06:44:04 +00:00
pieter 8d74603062 values.yaml を更新 2025-11-20 06:37:16 +00:00
pieter 129115481c README.md を追加 2025-11-20 06:28:50 +00:00
pieter 0fda728c4c Chart.yaml を更新 2025-11-20 06:26:19 +00:00
pieter edcb854baa Chart.yaml を更新 2025-11-20 06:26:03 +00:00
helmchart 73fd0bb25b Initial commit 2025-11-19 23:55:42 +00:00