This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow. ### Details - **Trigger**: `pull_request` by `@alexlebens` - **Commit**: `9adfa37` (on `9adfa37bfd180bb019e148085441833e626d9571`) - **Charts Updated**: `harbor,yubal` ### Update Details (2026-03-24 22:14 UTC) - **Trigger**: `pull_request` by `@alexlebens` - **Commit**: `27fe9e1` (on `27fe9e1cc52fb8b974f5d2ca538bd9a669cb855f`) - **Charts Updated**: `harbor` ### Update Details (2026-03-24 22:20 UTC) - **Trigger**: `workflow_dispatch` by `@alexlebens` - **Commit**: `27fe9e1` (on `main`) - **Charts Updated**: `yubal` Reviewed-on: #5089 Co-authored-by: gitea-bot <gitea-bot@alexlebens.net> Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
69 lines
1.9 KiB
YAML
69 lines
1.9 KiB
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: migration-job
|
|
namespace: "harbor"
|
|
labels:
|
|
heritage: Helm
|
|
release: harbor
|
|
chart: harbor
|
|
app: "harbor"
|
|
app.kubernetes.io/instance: harbor
|
|
app.kubernetes.io/name: harbor
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/part-of: harbor
|
|
app.kubernetes.io/version: "2.14.3"
|
|
component: migrator
|
|
annotations:
|
|
"helm.sh/hook": pre-upgrade
|
|
"helm.sh/hook-weight": "-5"
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels:
|
|
release: harbor
|
|
app: "harbor"
|
|
component: migrator
|
|
spec:
|
|
restartPolicy: Never
|
|
securityContext:
|
|
runAsUser: 10000
|
|
fsGroup: 10000
|
|
terminationGracePeriodSeconds: 120
|
|
containers:
|
|
- name: core-job
|
|
image: ghcr.io/goharbor/harbor-core:v2.15.0@sha256:32a13f6693a278261e9c9cb7eb606c5e2aa021308ae44fdc73225755048500a8
|
|
imagePullPolicy: IfNotPresent
|
|
command: ["/harbor/harbor_core", "-mode=migrate"]
|
|
envFrom:
|
|
- configMapRef:
|
|
name: "harbor-core"
|
|
- secretRef:
|
|
name: "harbor-core"
|
|
env:
|
|
- name: POSTGRESQL_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: harbor-postgresql-18-cluster-app
|
|
key: password
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
privileged: false
|
|
runAsNonRoot: true
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /etc/core/app.conf
|
|
subPath: app.conf
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: harbor-core
|
|
items:
|
|
- key: app.conf
|
|
path: app.conf
|