fix(secrets-backup): 🔥 remove client-side openssl encryption
Some checks failed
Build secrets-backup image / build-and-push (push) Failing after 3s
Some checks failed
Build secrets-backup image / build-and-push (push) Failing after 3s
OBS bucket has server-side KMS encryption. Client-side openssl was redundant and caused failures (Alpine CDN unreachable at 03:30 UTC). Changes: - Dockerfile: remove openssl apk install (no longer needed) - CronJob: remove openssl enc step, upload .tar.gz directly - CronJob: remove secrets-backup-config Secret (encryption passphrase) - CronJob: remove ENCRYPTION_PASSPHRASE env var - Bump image tag to 1.0.1, update workflow and manifest reference Flow: kubectl export → tar.gz → upload to OBS (SSE-KMS handles rest) Ref: IPCEICIS-9317
This commit is contained in:
parent
6b29aa3916
commit
81b721bb5a
3 changed files with 43 additions and 30 deletions
35
.forgejo/workflows/build-secrets-backup-image.yml
Normal file
35
.forgejo/workflows/build-secrets-backup-image.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
name: Build secrets-backup image
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'build/secrets-backup/Dockerfile'
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to registry
|
||||
run: |
|
||||
echo "${{ secrets.PACKAGES_TOKEN }}" | \
|
||||
docker login edp.buildth.ing \
|
||||
-u "${{ env.FORGEJO_REPOSITORY_OWNER }}" \
|
||||
--password-stdin
|
||||
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build \
|
||||
-t edp.buildth.ing/devfw-cicd/secrets-backup:1.0.1 \
|
||||
-t edp.buildth.ing/devfw-cicd/secrets-backup:latest \
|
||||
build/secrets-backup/
|
||||
|
||||
- name: Push image
|
||||
run: |
|
||||
docker push edp.buildth.ing/devfw-cicd/secrets-backup:1.0.1
|
||||
docker push edp.buildth.ing/devfw-cicd/secrets-backup:latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue