2711 lines
90 KiB
YAML
2711 lines
90 KiB
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 0b2c10182d51aa707a84b0fdf2c72cbb3d71ff230d325aa9ff22a49e8ce21ffc
|
|
creationTimestamp: '2025-10-27T21:04:07Z'
|
|
generateName: gitea-58df85bccc-
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
pod-template-hash: 58df85bccc
|
|
version: 1.24.6
|
|
name: gitea-58df85bccc-7kcln
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: ReplicaSet
|
|
name: gitea-58df85bccc
|
|
uid: 03ab4ff6-6209-41d4-a909-2917160eb74f
|
|
resourceVersion: '20406217'
|
|
uid: e37fa9e6-400d-4a1c-87da-9e00a971cb59
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SSH_LISTEN_PORT
|
|
value: '22'
|
|
- name: SSH_PORT
|
|
value: '22'
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMPDIR
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 200
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
name: gitea
|
|
ports:
|
|
- containerPort: 22
|
|
name: ssh
|
|
protocol: TCP
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
resources: {}
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
initContainers:
|
|
- command:
|
|
- /usr/sbinx/init_directory_structure.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-directories
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
- command:
|
|
- /usr/sbinx/config_environment.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMP_EXISTING_ENVS_FILE
|
|
value: /tmp/existing-envs
|
|
- name: ENV_TO_INI_MOUNT_POINT
|
|
value: /env-to-ini-mounts
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-app-ini
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
- command:
|
|
- /usr/sbinx/configure_gitea.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
- name: GITEA_ADMIN_USERNAME
|
|
value: admin
|
|
- name: GITEA_ADMIN_PASSWORD
|
|
value: Kalapszar222&
|
|
- name: GITEA_ADMIN_PASSWORD_MODE
|
|
value: keepUpdated
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: configure-gitea
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
nodeName: server-thinkcentre-e73
|
|
preemptionPolicy: PreemptLowerPriority
|
|
priority: 0
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1000
|
|
serviceAccount: default
|
|
serviceAccountName: default
|
|
terminationGracePeriodSeconds: 60
|
|
tolerations:
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/not-ready
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/unreachable
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
volumes:
|
|
- name: init
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea-init
|
|
- name: config
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea
|
|
- name: inline-config-sources
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-inline-config
|
|
- emptyDir: {}
|
|
name: temp
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: gitea-shared-storage
|
|
- name: kube-api-access-9mvwz
|
|
projected:
|
|
defaultMode: 420
|
|
sources:
|
|
- serviceAccountToken:
|
|
expirationSeconds: 3607
|
|
path: token
|
|
- configMap:
|
|
items:
|
|
- key: ca.crt
|
|
path: ca.crt
|
|
name: kube-root-ca.crt
|
|
- downwardAPI:
|
|
items:
|
|
- fieldRef:
|
|
apiVersion: v1
|
|
fieldPath: metadata.namespace
|
|
path: namespace
|
|
status:
|
|
conditions:
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:15Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:05:14Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:05:36Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:05:36Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:07Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://35892078e5216d9936f94563209c8bb8e71d3de7cafa9d5a7090b09670080d2c
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imageID: docker.gitea.com/gitea@sha256:91f2b27e080739f0d19dba716c3214f17257c632cf762e545b44ca577e37052c
|
|
lastState: {}
|
|
name: gitea
|
|
ready: true
|
|
restartCount: 0
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-10-27T21:05:14Z'
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
initContainerStatuses:
|
|
- containerID: containerd://70fe58eaf134c7d5ee60dd62e425eae04043fa18d30b337892f4d9f6bfd60de7
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imageID: docker.gitea.com/gitea@sha256:91f2b27e080739f0d19dba716c3214f17257c632cf762e545b44ca577e37052c
|
|
lastState: {}
|
|
name: init-directories
|
|
ready: true
|
|
restartCount: 0
|
|
started: false
|
|
state:
|
|
terminated:
|
|
containerID: containerd://70fe58eaf134c7d5ee60dd62e425eae04043fa18d30b337892f4d9f6bfd60de7
|
|
exitCode: 0
|
|
finishedAt: '2025-10-27T21:04:15Z'
|
|
reason: Completed
|
|
startedAt: '2025-10-27T21:04:15Z'
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
- containerID: containerd://126062f79f43c7068b8b8dbf5046fd97fe58254a4c94e2c24e9049835c22d149
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imageID: docker.gitea.com/gitea@sha256:91f2b27e080739f0d19dba716c3214f17257c632cf762e545b44ca577e37052c
|
|
lastState: {}
|
|
name: init-app-ini
|
|
ready: true
|
|
restartCount: 0
|
|
started: false
|
|
state:
|
|
terminated:
|
|
containerID: containerd://126062f79f43c7068b8b8dbf5046fd97fe58254a4c94e2c24e9049835c22d149
|
|
exitCode: 0
|
|
finishedAt: '2025-10-27T21:04:18Z'
|
|
reason: Completed
|
|
startedAt: '2025-10-27T21:04:17Z'
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
- containerID: containerd://60f9696c64cc4cea04a1de70f306511209af7d84bbda8c76142db877a58ccbe1
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imageID: docker.gitea.com/gitea@sha256:91f2b27e080739f0d19dba716c3214f17257c632cf762e545b44ca577e37052c
|
|
lastState: {}
|
|
name: configure-gitea
|
|
ready: true
|
|
restartCount: 3
|
|
started: false
|
|
state:
|
|
terminated:
|
|
containerID: containerd://60f9696c64cc4cea04a1de70f306511209af7d84bbda8c76142db877a58ccbe1
|
|
exitCode: 0
|
|
finishedAt: '2025-10-27T21:05:14Z'
|
|
reason: Completed
|
|
startedAt: '2025-10-27T21:05:01Z'
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
|
|
name: kube-api-access-9mvwz
|
|
readOnly: true
|
|
recursiveReadOnly: Disabled
|
|
phase: Running
|
|
podIP: 10.244.0.150
|
|
podIPs:
|
|
- ip: 10.244.0.150
|
|
qosClass: Burstable
|
|
startTime: '2025-10-27T21:04:07Z'
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
creationTimestamp: '2025-10-27T21:04:38Z'
|
|
generateName: gitea-postgresql-
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: postgresql
|
|
app.kubernetes.io/version: 17.6.0
|
|
apps.kubernetes.io/pod-index: '0'
|
|
controller-revision-hash: gitea-postgresql-57587479cf
|
|
helm.sh/chart: postgresql-16.7.27
|
|
statefulset.kubernetes.io/pod-name: gitea-postgresql-0
|
|
name: gitea-postgresql-0
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: StatefulSet
|
|
name: gitea-postgresql
|
|
uid: 8d3cecd0-9602-45f4-b97b-a003b102f43d
|
|
resourceVersion: '20406135'
|
|
uid: 37fa35f8-7b3d-4a22-ab1a-c1414da34072
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- podAffinityTerm:
|
|
labelSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: postgresql
|
|
topologyKey: kubernetes.io/hostname
|
|
weight: 1
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- env:
|
|
- name: BITNAMI_DEBUG
|
|
value: 'false'
|
|
- name: POSTGRESQL_PORT_NUMBER
|
|
value: '5432'
|
|
- name: POSTGRESQL_VOLUME_DIR
|
|
value: /bitnami/postgresql
|
|
- name: PGDATA
|
|
value: /bitnami/postgresql/data
|
|
- name: POSTGRES_USER
|
|
value: gitea
|
|
- name: POSTGRES_PASSWORD_FILE
|
|
value: /opt/bitnami/postgresql/secrets/password
|
|
- name: POSTGRES_POSTGRES_PASSWORD_FILE
|
|
value: /opt/bitnami/postgresql/secrets/postgres-password
|
|
- name: POSTGRES_DATABASE
|
|
value: gitea
|
|
- name: POSTGRESQL_ENABLE_LDAP
|
|
value: 'no'
|
|
- name: POSTGRESQL_ENABLE_TLS
|
|
value: 'no'
|
|
- name: POSTGRESQL_LOG_HOSTNAME
|
|
value: 'false'
|
|
- name: POSTGRESQL_LOG_CONNECTIONS
|
|
value: 'false'
|
|
- name: POSTGRESQL_LOG_DISCONNECTIONS
|
|
value: 'false'
|
|
- name: POSTGRESQL_PGAUDIT_LOG_CATALOG
|
|
value: 'off'
|
|
- name: POSTGRESQL_CLIENT_MIN_MESSAGES
|
|
value: error
|
|
- name: POSTGRESQL_SHARED_PRELOAD_LIBRARIES
|
|
value: pgaudit
|
|
image: docker.io/bitnami/postgresql:17.5.0-debian-12-r3
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- exec pg_isready -U "gitea" -d "dbname=gitea" -h 127.0.0.1 -p 5432
|
|
failureThreshold: 6
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
name: postgresql
|
|
ports:
|
|
- containerPort: 5432
|
|
name: tcp-postgresql
|
|
protocol: TCP
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- -e
|
|
- 'exec pg_isready -U "gitea" -d "dbname=gitea" -h 127.0.0.1 -p 5432
|
|
|
|
[ -f /opt/bitnami/postgresql/tmp/.initialized ] || [ -f /bitnami/postgresql/.initialized
|
|
]
|
|
|
|
'
|
|
failureThreshold: 6
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
resources:
|
|
limits:
|
|
cpu: 150m
|
|
ephemeral-storage: 2Gi
|
|
memory: 192Mi
|
|
requests:
|
|
cpu: 100m
|
|
ephemeral-storage: 50Mi
|
|
memory: 128Mi
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
privileged: false
|
|
readOnlyRootFilesystem: true
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
runAsUser: 1001
|
|
seLinuxOptions: {}
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: empty-dir
|
|
subPath: tmp-dir
|
|
- mountPath: /opt/bitnami/postgresql/conf
|
|
name: empty-dir
|
|
subPath: app-conf-dir
|
|
- mountPath: /opt/bitnami/postgresql/tmp
|
|
name: empty-dir
|
|
subPath: app-tmp-dir
|
|
- mountPath: /opt/bitnami/postgresql/secrets/
|
|
name: postgresql-password
|
|
- mountPath: /dev/shm
|
|
name: dshm
|
|
- mountPath: /bitnami/postgresql
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
hostname: gitea-postgresql-0
|
|
nodeName: server-thinkcentre-e73
|
|
preemptionPolicy: PreemptLowerPriority
|
|
priority: 0
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1001
|
|
fsGroupChangePolicy: Always
|
|
serviceAccount: gitea-postgresql
|
|
serviceAccountName: gitea-postgresql
|
|
subdomain: gitea-postgresql-hl
|
|
terminationGracePeriodSeconds: 30
|
|
tolerations:
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/not-ready
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/unreachable
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: data-gitea-postgresql-0
|
|
- emptyDir: {}
|
|
name: empty-dir
|
|
- name: postgresql-password
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-postgresql
|
|
- emptyDir:
|
|
medium: Memory
|
|
name: dshm
|
|
status:
|
|
conditions:
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:39Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:38Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:50Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:50Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:38Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://cec8de025f81b2b58d146b25d29ed923a34dd4b98f2c47c0b2c3fcce8e6ecce3
|
|
image: docker.io/bitnami/postgresql:17.5.0-debian-12-r3
|
|
imageID: docker.io/bitnami/postgresql@sha256:5cf757a084469da93ca39a294c9ec7c1aaf2d2a5f728001676ece1a9607fa57f
|
|
lastState: {}
|
|
name: postgresql
|
|
ready: true
|
|
restartCount: 0
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-10-27T21:04:39Z'
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: empty-dir
|
|
- mountPath: /opt/bitnami/postgresql/conf
|
|
name: empty-dir
|
|
- mountPath: /opt/bitnami/postgresql/tmp
|
|
name: empty-dir
|
|
- mountPath: /opt/bitnami/postgresql/secrets/
|
|
name: postgresql-password
|
|
- mountPath: /dev/shm
|
|
name: dshm
|
|
- mountPath: /bitnami/postgresql
|
|
name: data
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
phase: Running
|
|
podIP: 10.244.0.152
|
|
podIPs:
|
|
- ip: 10.244.0.152
|
|
qosClass: Burstable
|
|
startTime: '2025-10-27T21:04:38Z'
|
|
- apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
annotations:
|
|
checksum/configmap: c8cdc0c4c772ac3192446a08bf401c29f1e39f33614657d36e4bb1692e34b39f
|
|
checksum/health: e3a0f06458110f02986bb8df4391c43567355d3582dd02f25447184391196fbc
|
|
checksum/scripts: 791de9ea7b477455268cda3e85c8e58a1505e8d19ff8e851d78a246cb185a0f7
|
|
checksum/secret: 4b8cbd9693e7e45452b3b3213bc382ab02b9fb0a82991bfb0fec1e5e1193b9cd
|
|
creationTimestamp: '2025-10-27T21:04:08Z'
|
|
generateName: gitea-valkey-primary-
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: valkey
|
|
app.kubernetes.io/version: 8.1.3
|
|
apps.kubernetes.io/pod-index: '0'
|
|
controller-revision-hash: gitea-valkey-primary-7d55f7b7b9
|
|
helm.sh/chart: valkey-3.0.31
|
|
statefulset.kubernetes.io/pod-name: gitea-valkey-primary-0
|
|
name: gitea-valkey-primary-0
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: StatefulSet
|
|
name: gitea-valkey-primary
|
|
uid: 40481ba9-b808-4215-b738-4a9a7f5dffb6
|
|
resourceVersion: '20406063'
|
|
uid: f19d18c6-f00e-4e70-a071-fb1499eb4f58
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- podAffinityTerm:
|
|
labelSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: valkey
|
|
topologyKey: kubernetes.io/hostname
|
|
weight: 1
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- args:
|
|
- -c
|
|
- /opt/bitnami/scripts/start-scripts/start-primary.sh
|
|
command:
|
|
- /bin/bash
|
|
env:
|
|
- name: BITNAMI_DEBUG
|
|
value: 'false'
|
|
- name: VALKEY_REPLICATION_MODE
|
|
value: primary
|
|
- name: ALLOW_EMPTY_PASSWORD
|
|
value: 'no'
|
|
- name: VALKEY_PASSWORD_FILE
|
|
value: /opt/bitnami/valkey/secrets/valkey-password
|
|
- name: VALKEY_TLS_ENABLED
|
|
value: 'no'
|
|
- name: VALKEY_PORT
|
|
value: '6379'
|
|
image: docker.io/bitnami/valkey:8.1.1-debian-12-r0
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- sh
|
|
- -c
|
|
- /health/ping_liveness_local.sh 5
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 6
|
|
name: valkey
|
|
ports:
|
|
- containerPort: 6379
|
|
name: redis
|
|
protocol: TCP
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- sh
|
|
- -c
|
|
- /health/ping_readiness_local.sh 1
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 2
|
|
resources:
|
|
limits:
|
|
cpu: 150m
|
|
ephemeral-storage: 2Gi
|
|
memory: 192Mi
|
|
requests:
|
|
cpu: 100m
|
|
ephemeral-storage: 50Mi
|
|
memory: 128Mi
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
runAsUser: 1001
|
|
seLinuxOptions: {}
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /opt/bitnami/scripts/start-scripts
|
|
name: start-scripts
|
|
- mountPath: /health
|
|
name: health
|
|
- mountPath: /opt/bitnami/valkey/secrets/
|
|
name: valkey-password
|
|
- mountPath: /data
|
|
name: valkey-data
|
|
- mountPath: /opt/bitnami/valkey/mounted-etc
|
|
name: config
|
|
- mountPath: /opt/bitnami/valkey/etc/
|
|
name: empty-dir
|
|
subPath: app-conf-dir
|
|
- mountPath: /tmp
|
|
name: empty-dir
|
|
subPath: tmp-dir
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
hostname: gitea-valkey-primary-0
|
|
nodeName: server-thinkcentre-e73
|
|
preemptionPolicy: PreemptLowerPriority
|
|
priority: 0
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1001
|
|
fsGroupChangePolicy: Always
|
|
serviceAccount: gitea-valkey-primary
|
|
serviceAccountName: gitea-valkey-primary
|
|
subdomain: gitea-valkey-headless
|
|
terminationGracePeriodSeconds: 30
|
|
tolerations:
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/not-ready
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
- effect: NoExecute
|
|
key: node.kubernetes.io/unreachable
|
|
operator: Exists
|
|
tolerationSeconds: 300
|
|
volumes:
|
|
- name: valkey-data
|
|
persistentVolumeClaim:
|
|
claimName: valkey-data-gitea-valkey-primary-0
|
|
- configMap:
|
|
defaultMode: 493
|
|
name: gitea-valkey-scripts
|
|
name: start-scripts
|
|
- configMap:
|
|
defaultMode: 493
|
|
name: gitea-valkey-health
|
|
name: health
|
|
- name: valkey-password
|
|
secret:
|
|
defaultMode: 420
|
|
items:
|
|
- key: valkey-password
|
|
path: valkey-password
|
|
secretName: gitea-valkey
|
|
- configMap:
|
|
defaultMode: 420
|
|
name: gitea-valkey-configuration
|
|
name: config
|
|
- emptyDir: {}
|
|
name: empty-dir
|
|
status:
|
|
conditions:
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:09Z'
|
|
status: 'True'
|
|
type: PodReadyToStartContainers
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:08Z'
|
|
status: 'True'
|
|
type: Initialized
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:30Z'
|
|
status: 'True'
|
|
type: Ready
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:30Z'
|
|
status: 'True'
|
|
type: ContainersReady
|
|
- lastProbeTime: null
|
|
lastTransitionTime: '2025-10-27T21:04:08Z'
|
|
status: 'True'
|
|
type: PodScheduled
|
|
containerStatuses:
|
|
- containerID: containerd://a8530f8b9c5dc9905955c60edec435613cce624c29ad8aa703313b9f3609797e
|
|
image: docker.io/bitnami/valkey:8.1.1-debian-12-r0
|
|
imageID: docker.io/bitnami/valkey@sha256:b6b1c4944b12dc6d644bb553695350138f63172232d9d323486136aded59e5b6
|
|
lastState: {}
|
|
name: valkey
|
|
ready: true
|
|
restartCount: 0
|
|
started: true
|
|
state:
|
|
running:
|
|
startedAt: '2025-10-27T21:04:09Z'
|
|
volumeMounts:
|
|
- mountPath: /opt/bitnami/scripts/start-scripts
|
|
name: start-scripts
|
|
- mountPath: /health
|
|
name: health
|
|
- mountPath: /opt/bitnami/valkey/secrets/
|
|
name: valkey-password
|
|
- mountPath: /data
|
|
name: valkey-data
|
|
- mountPath: /opt/bitnami/valkey/mounted-etc
|
|
name: config
|
|
- mountPath: /opt/bitnami/valkey/etc/
|
|
name: empty-dir
|
|
- mountPath: /tmp
|
|
name: empty-dir
|
|
hostIP: 192.168.31.54
|
|
hostIPs:
|
|
- ip: 192.168.31.54
|
|
phase: Running
|
|
podIP: 10.244.0.151
|
|
podIPs:
|
|
- ip: 10.244.0.151
|
|
qosClass: Burstable
|
|
startTime: '2025-10-27T21:04:08Z'
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
version: 1.24.6
|
|
name: gitea-http
|
|
namespace: gitea
|
|
resourceVersion: '20405938'
|
|
uid: 0777d7be-068b-42c6-a59f-3264c0fdfc4a
|
|
spec:
|
|
clusterIP: 10.101.238.182
|
|
clusterIPs:
|
|
- 10.101.238.182
|
|
externalTrafficPolicy: Cluster
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: http
|
|
nodePort: 30081
|
|
port: 3000
|
|
protocol: TCP
|
|
targetPort: 3000
|
|
selector:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
sessionAffinity: None
|
|
type: NodePort
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: postgresql
|
|
app.kubernetes.io/version: 17.6.0
|
|
helm.sh/chart: postgresql-16.7.27
|
|
name: gitea-postgresql
|
|
namespace: gitea
|
|
resourceVersion: '20405929'
|
|
uid: c1d52177-9299-462d-a487-b48b506f8f8d
|
|
spec:
|
|
clusterIP: 10.105.180.86
|
|
clusterIPs:
|
|
- 10.105.180.86
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: tcp-postgresql
|
|
port: 5432
|
|
protocol: TCP
|
|
targetPort: tcp-postgresql
|
|
selector:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: postgresql
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: postgresql
|
|
app.kubernetes.io/version: 17.6.0
|
|
helm.sh/chart: postgresql-16.7.27
|
|
name: gitea-postgresql-hl
|
|
namespace: gitea
|
|
resourceVersion: '20405926'
|
|
uid: 5dc925e4-afd5-44ea-b5d7-d8c19fe5432a
|
|
spec:
|
|
clusterIP: None
|
|
clusterIPs:
|
|
- None
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: tcp-postgresql
|
|
port: 5432
|
|
protocol: TCP
|
|
targetPort: tcp-postgresql
|
|
publishNotReadyAddresses: true
|
|
selector:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: postgresql
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
version: 1.24.6
|
|
name: gitea-ssh
|
|
namespace: gitea
|
|
resourceVersion: '20405941'
|
|
uid: 398bb2ce-1748-41ef-8391-418b5292b6a8
|
|
spec:
|
|
clusterIP: None
|
|
clusterIPs:
|
|
- None
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: ssh
|
|
port: 22
|
|
protocol: TCP
|
|
targetPort: 22
|
|
selector:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
labels:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: valkey
|
|
app.kubernetes.io/part-of: valkey
|
|
app.kubernetes.io/version: 8.1.3
|
|
helm.sh/chart: valkey-3.0.31
|
|
name: gitea-valkey-headless
|
|
namespace: gitea
|
|
resourceVersion: '20405932'
|
|
uid: 9feead00-753c-404d-b777-560ab2c374ad
|
|
spec:
|
|
clusterIP: None
|
|
clusterIPs:
|
|
- None
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: tcp-redis
|
|
port: 6379
|
|
protocol: TCP
|
|
targetPort: redis
|
|
selector:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: valkey
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: valkey
|
|
app.kubernetes.io/part-of: valkey
|
|
app.kubernetes.io/version: 8.1.3
|
|
helm.sh/chart: valkey-3.0.31
|
|
name: gitea-valkey-primary
|
|
namespace: gitea
|
|
resourceVersion: '20405935'
|
|
uid: 0645d25e-19c2-4cc7-b861-a5953f3eb68b
|
|
spec:
|
|
clusterIP: 10.98.74.122
|
|
clusterIPs:
|
|
- 10.98.74.122
|
|
internalTrafficPolicy: Cluster
|
|
ipFamilies:
|
|
- IPv4
|
|
ipFamilyPolicy: SingleStack
|
|
ports:
|
|
- name: tcp-redis
|
|
port: 6379
|
|
protocol: TCP
|
|
targetPort: redis
|
|
selector:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: valkey
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|
|
- apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/revision: '4'
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
generation: 4
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
version: 1.24.6
|
|
name: gitea
|
|
namespace: gitea
|
|
resourceVersion: '20406235'
|
|
uid: a95418e5-ec60-4e9a-a542-bf95ac8a3973
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 100%
|
|
maxUnavailable: 0
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 0b2c10182d51aa707a84b0fdf2c72cbb3d71ff230d325aa9ff22a49e8ce21ffc
|
|
creationTimestamp: null
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
version: 1.24.6
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SSH_LISTEN_PORT
|
|
value: '22'
|
|
- name: SSH_PORT
|
|
value: '22'
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMPDIR
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 200
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
name: gitea
|
|
ports:
|
|
- containerPort: 22
|
|
name: ssh
|
|
protocol: TCP
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
resources: {}
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
initContainers:
|
|
- command:
|
|
- /usr/sbinx/init_directory_structure.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-directories
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- command:
|
|
- /usr/sbinx/config_environment.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMP_EXISTING_ENVS_FILE
|
|
value: /tmp/existing-envs
|
|
- name: ENV_TO_INI_MOUNT_POINT
|
|
value: /env-to-ini-mounts
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-app-ini
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- command:
|
|
- /usr/sbinx/configure_gitea.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
- name: GITEA_ADMIN_USERNAME
|
|
value: admin
|
|
- name: GITEA_ADMIN_PASSWORD
|
|
value: Kalapszar222&
|
|
- name: GITEA_ADMIN_PASSWORD_MODE
|
|
value: keepUpdated
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: configure-gitea
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1000
|
|
terminationGracePeriodSeconds: 60
|
|
volumes:
|
|
- name: init
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea-init
|
|
- name: config
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea
|
|
- name: inline-config-sources
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-inline-config
|
|
- emptyDir: {}
|
|
name: temp
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: gitea-shared-storage
|
|
status:
|
|
availableReplicas: 1
|
|
conditions:
|
|
- lastTransitionTime: '2025-08-24T01:03:10Z'
|
|
lastUpdateTime: '2025-08-24T01:03:10Z'
|
|
message: Deployment has minimum availability.
|
|
reason: MinimumReplicasAvailable
|
|
status: 'True'
|
|
type: Available
|
|
- lastTransitionTime: '2025-05-23T19:53:33Z'
|
|
lastUpdateTime: '2025-10-27T21:05:36Z'
|
|
message: ReplicaSet "gitea-58df85bccc" has successfully progressed.
|
|
reason: NewReplicaSetAvailable
|
|
status: 'True'
|
|
type: Progressing
|
|
observedGeneration: 4
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updatedReplicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: '1'
|
|
deployment.kubernetes.io/max-replicas: '2'
|
|
deployment.kubernetes.io/revision: '4'
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-10-27T21:04:07Z'
|
|
generation: 1
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
pod-template-hash: 58df85bccc
|
|
version: 1.24.6
|
|
name: gitea-58df85bccc
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: gitea
|
|
uid: a95418e5-ec60-4e9a-a542-bf95ac8a3973
|
|
resourceVersion: '20406222'
|
|
uid: 03ab4ff6-6209-41d4-a909-2917160eb74f
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
pod-template-hash: 58df85bccc
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 0b2c10182d51aa707a84b0fdf2c72cbb3d71ff230d325aa9ff22a49e8ce21ffc
|
|
creationTimestamp: null
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.24.6
|
|
helm.sh/chart: gitea-12.4.0
|
|
pod-template-hash: 58df85bccc
|
|
version: 1.24.6
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SSH_LISTEN_PORT
|
|
value: '22'
|
|
- name: SSH_PORT
|
|
value: '22'
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMPDIR
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 200
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
name: gitea
|
|
ports:
|
|
- containerPort: 22
|
|
name: ssh
|
|
protocol: TCP
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
resources: {}
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
initContainers:
|
|
- command:
|
|
- /usr/sbinx/init_directory_structure.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-directories
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- command:
|
|
- /usr/sbinx/config_environment.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMP_EXISTING_ENVS_FILE
|
|
value: /tmp/existing-envs
|
|
- name: ENV_TO_INI_MOUNT_POINT
|
|
value: /env-to-ini-mounts
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-app-ini
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- command:
|
|
- /usr/sbinx/configure_gitea.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
- name: GITEA_ADMIN_USERNAME
|
|
value: admin
|
|
- name: GITEA_ADMIN_PASSWORD
|
|
value: Kalapszar222&
|
|
- name: GITEA_ADMIN_PASSWORD_MODE
|
|
value: keepUpdated
|
|
image: docker.gitea.com/gitea:1.24.6-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: configure-gitea
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1000
|
|
terminationGracePeriodSeconds: 60
|
|
volumes:
|
|
- name: init
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea-init
|
|
- name: config
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea
|
|
- name: inline-config-sources
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-inline-config
|
|
- emptyDir: {}
|
|
name: temp
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: gitea-shared-storage
|
|
status:
|
|
availableReplicas: 1
|
|
fullyLabeledReplicas: 1
|
|
observedGeneration: 1
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: '1'
|
|
deployment.kubernetes.io/max-replicas: '2'
|
|
deployment.kubernetes.io/revision: '2'
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T20:12:30Z'
|
|
generation: 2
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.23.8
|
|
helm.sh/chart: gitea-0.0.0
|
|
pod-template-hash: 59f49bbd77
|
|
version: 1.23.8
|
|
name: gitea-59f49bbd77
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: gitea
|
|
uid: a95418e5-ec60-4e9a-a542-bf95ac8a3973
|
|
resourceVersion: '3159329'
|
|
uid: 9b250d58-9f3e-4b82-872f-78ab196dc1cd
|
|
spec:
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
pod-template-hash: 59f49bbd77
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 153514c0c27436c85f9e699b6dabd2b261144631eb1d02dcab43c14b4b08eacd
|
|
creationTimestamp: null
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.23.8
|
|
helm.sh/chart: gitea-0.0.0
|
|
pod-template-hash: 59f49bbd77
|
|
version: 1.23.8
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SSH_LISTEN_PORT
|
|
value: '2222'
|
|
- name: SSH_PORT
|
|
value: '22'
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMPDIR
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 200
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
name: gitea
|
|
ports:
|
|
- containerPort: 2222
|
|
name: ssh
|
|
protocol: TCP
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
resources: {}
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
initContainers:
|
|
- command:
|
|
- /usr/sbinx/init_directory_structure.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-directories
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- command:
|
|
- /usr/sbinx/config_environment.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMP_EXISTING_ENVS_FILE
|
|
value: /tmp/existing-envs
|
|
- name: ENV_TO_INI_MOUNT_POINT
|
|
value: /env-to-ini-mounts
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-app-ini
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- command:
|
|
- /usr/sbinx/configure_gitea.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
- name: GITEA_ADMIN_USERNAME
|
|
value: admin
|
|
- name: GITEA_ADMIN_PASSWORD
|
|
value: Kalapszar222&
|
|
- name: GITEA_ADMIN_PASSWORD_MODE
|
|
value: keepUpdated
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: configure-gitea
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1000
|
|
terminationGracePeriodSeconds: 60
|
|
volumes:
|
|
- name: init
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea-init
|
|
- name: config
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea
|
|
- name: inline-config-sources
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-inline-config
|
|
- emptyDir: {}
|
|
name: temp
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: gitea-shared-storage
|
|
status:
|
|
observedGeneration: 2
|
|
replicas: 0
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: '1'
|
|
deployment.kubernetes.io/max-replicas: '2'
|
|
deployment.kubernetes.io/revision: '1'
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
generation: 2
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.23.8
|
|
helm.sh/chart: gitea-0.0.0
|
|
pod-template-hash: 654b4569cd
|
|
version: 1.23.8
|
|
name: gitea-654b4569cd
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: gitea
|
|
uid: a95418e5-ec60-4e9a-a542-bf95ac8a3973
|
|
resourceVersion: '3157886'
|
|
uid: 6831c5b8-0793-4130-891d-4f84e7ecddbf
|
|
spec:
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
pod-template-hash: 654b4569cd
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 153514c0c27436c85f9e699b6dabd2b261144631eb1d02dcab43c14b4b08eacd
|
|
creationTimestamp: null
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.23.8
|
|
helm.sh/chart: gitea-0.0.0
|
|
pod-template-hash: 654b4569cd
|
|
version: 1.23.8
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SSH_LISTEN_PORT
|
|
value: '2222'
|
|
- name: SSH_PORT
|
|
value: '22'
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMPDIR
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 200
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
name: gitea
|
|
ports:
|
|
- containerPort: 2222
|
|
name: ssh
|
|
protocol: TCP
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
resources: {}
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
initContainers:
|
|
- command:
|
|
- /usr/sbinx/init_directory_structure.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-directories
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- command:
|
|
- /usr/sbinx/config_environment.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMP_EXISTING_ENVS_FILE
|
|
value: /tmp/existing-envs
|
|
- name: ENV_TO_INI_MOUNT_POINT
|
|
value: /env-to-ini-mounts
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-app-ini
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- command:
|
|
- /usr/sbinx/configure_gitea.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
- name: GITEA_ADMIN_USERNAME
|
|
value: gitea_admin
|
|
- name: GITEA_ADMIN_PASSWORD
|
|
value: r8sA8CPHD9!bt6d
|
|
- name: GITEA_ADMIN_PASSWORD_MODE
|
|
value: keepUpdated
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: configure-gitea
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1000
|
|
terminationGracePeriodSeconds: 60
|
|
volumes:
|
|
- name: init
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea-init
|
|
- name: config
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea
|
|
- name: inline-config-sources
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-inline-config
|
|
- emptyDir: {}
|
|
name: temp
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: gitea-shared-storage
|
|
status:
|
|
observedGeneration: 2
|
|
replicas: 0
|
|
- apiVersion: apps/v1
|
|
kind: ReplicaSet
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/desired-replicas: '1'
|
|
deployment.kubernetes.io/max-replicas: '2'
|
|
deployment.kubernetes.io/revision: '3'
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T20:28:18Z'
|
|
generation: 2
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.23.8
|
|
helm.sh/chart: gitea-0.0.0
|
|
pod-template-hash: 66659b5cdc
|
|
version: 1.23.8
|
|
name: gitea-66659b5cdc
|
|
namespace: gitea
|
|
ownerReferences:
|
|
- apiVersion: apps/v1
|
|
blockOwnerDeletion: true
|
|
controller: true
|
|
kind: Deployment
|
|
name: gitea
|
|
uid: a95418e5-ec60-4e9a-a542-bf95ac8a3973
|
|
resourceVersion: '20406234'
|
|
uid: 822d6eb2-737e-46e7-9026-23b875b67975
|
|
spec:
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: gitea
|
|
pod-template-hash: 66659b5cdc
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/config: 2c0b9173c0047e498a8a3785346fe018224f68e0caa1b8354fbb7f82cdfa522f
|
|
creationTimestamp: null
|
|
labels:
|
|
app: gitea
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: gitea
|
|
app.kubernetes.io/version: 1.23.8
|
|
helm.sh/chart: gitea-0.0.0
|
|
pod-template-hash: 66659b5cdc
|
|
version: 1.23.8
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: SSH_LISTEN_PORT
|
|
value: '2222'
|
|
- name: SSH_PORT
|
|
value: '22'
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMPDIR
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 200
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
name: gitea
|
|
ports:
|
|
- containerPort: 2222
|
|
name: ssh
|
|
protocol: TCP
|
|
- containerPort: 3000
|
|
name: http
|
|
protocol: TCP
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
tcpSocket:
|
|
port: http
|
|
timeoutSeconds: 1
|
|
resources: {}
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
initContainers:
|
|
- command:
|
|
- /usr/sbinx/init_directory_structure.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-directories
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- command:
|
|
- /usr/sbinx/config_environment.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: TMP_EXISTING_ENVS_FILE
|
|
value: /tmp/existing-envs
|
|
- name: ENV_TO_INI_MOUNT_POINT
|
|
value: /env-to-ini-mounts
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: init-app-ini
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext: {}
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: config
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
- mountPath: /env-to-ini-mounts/inlines/
|
|
name: inline-config-sources
|
|
- command:
|
|
- /usr/sbinx/configure_gitea.sh
|
|
env:
|
|
- name: GITEA_APP_INI
|
|
value: /data/gitea/conf/app.ini
|
|
- name: GITEA_CUSTOM
|
|
value: /data/gitea
|
|
- name: GITEA_WORK_DIR
|
|
value: /data
|
|
- name: GITEA_TEMP
|
|
value: /tmp/gitea
|
|
- name: HOME
|
|
value: /data/gitea/git
|
|
- name: GITEA_ADMIN_USERNAME
|
|
value: admin
|
|
- name: GITEA_ADMIN_PASSWORD
|
|
value: Kalapszar222&
|
|
- name: GITEA_ADMIN_PASSWORD_MODE
|
|
value: keepUpdated
|
|
image: docker.gitea.com/gitea:1.23.8-rootless
|
|
imagePullPolicy: IfNotPresent
|
|
name: configure-gitea
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
securityContext:
|
|
runAsUser: 1000
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /usr/sbinx
|
|
name: init
|
|
- mountPath: /tmp
|
|
name: temp
|
|
- mountPath: /data
|
|
name: data
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1000
|
|
terminationGracePeriodSeconds: 60
|
|
volumes:
|
|
- name: init
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea-init
|
|
- name: config
|
|
secret:
|
|
defaultMode: 110
|
|
secretName: gitea
|
|
- name: inline-config-sources
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-inline-config
|
|
- emptyDir: {}
|
|
name: temp
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: gitea-shared-storage
|
|
status:
|
|
observedGeneration: 2
|
|
replicas: 0
|
|
- apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
generation: 2
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: postgresql
|
|
app.kubernetes.io/version: 17.6.0
|
|
helm.sh/chart: postgresql-16.7.27
|
|
name: gitea-postgresql
|
|
namespace: gitea
|
|
resourceVersion: '20406140'
|
|
uid: 8d3cecd0-9602-45f4-b97b-a003b102f43d
|
|
spec:
|
|
persistentVolumeClaimRetentionPolicy:
|
|
whenDeleted: Retain
|
|
whenScaled: Retain
|
|
podManagementPolicy: OrderedReady
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: postgresql
|
|
serviceName: gitea-postgresql-hl
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: postgresql
|
|
app.kubernetes.io/version: 17.6.0
|
|
helm.sh/chart: postgresql-16.7.27
|
|
name: gitea-postgresql
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- podAffinityTerm:
|
|
labelSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: postgresql
|
|
topologyKey: kubernetes.io/hostname
|
|
weight: 1
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- env:
|
|
- name: BITNAMI_DEBUG
|
|
value: 'false'
|
|
- name: POSTGRESQL_PORT_NUMBER
|
|
value: '5432'
|
|
- name: POSTGRESQL_VOLUME_DIR
|
|
value: /bitnami/postgresql
|
|
- name: PGDATA
|
|
value: /bitnami/postgresql/data
|
|
- name: POSTGRES_USER
|
|
value: gitea
|
|
- name: POSTGRES_PASSWORD_FILE
|
|
value: /opt/bitnami/postgresql/secrets/password
|
|
- name: POSTGRES_POSTGRES_PASSWORD_FILE
|
|
value: /opt/bitnami/postgresql/secrets/postgres-password
|
|
- name: POSTGRES_DATABASE
|
|
value: gitea
|
|
- name: POSTGRESQL_ENABLE_LDAP
|
|
value: 'no'
|
|
- name: POSTGRESQL_ENABLE_TLS
|
|
value: 'no'
|
|
- name: POSTGRESQL_LOG_HOSTNAME
|
|
value: 'false'
|
|
- name: POSTGRESQL_LOG_CONNECTIONS
|
|
value: 'false'
|
|
- name: POSTGRESQL_LOG_DISCONNECTIONS
|
|
value: 'false'
|
|
- name: POSTGRESQL_PGAUDIT_LOG_CATALOG
|
|
value: 'off'
|
|
- name: POSTGRESQL_CLIENT_MIN_MESSAGES
|
|
value: error
|
|
- name: POSTGRESQL_SHARED_PRELOAD_LIBRARIES
|
|
value: pgaudit
|
|
image: docker.io/bitnami/postgresql:17.5.0-debian-12-r3
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- exec pg_isready -U "gitea" -d "dbname=gitea" -h 127.0.0.1 -p
|
|
5432
|
|
failureThreshold: 6
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
name: postgresql
|
|
ports:
|
|
- containerPort: 5432
|
|
name: tcp-postgresql
|
|
protocol: TCP
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- -e
|
|
- 'exec pg_isready -U "gitea" -d "dbname=gitea" -h 127.0.0.1 -p
|
|
5432
|
|
|
|
[ -f /opt/bitnami/postgresql/tmp/.initialized ] || [ -f /bitnami/postgresql/.initialized
|
|
]
|
|
|
|
'
|
|
failureThreshold: 6
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
resources:
|
|
limits:
|
|
cpu: 150m
|
|
ephemeral-storage: 2Gi
|
|
memory: 192Mi
|
|
requests:
|
|
cpu: 100m
|
|
ephemeral-storage: 50Mi
|
|
memory: 128Mi
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
privileged: false
|
|
readOnlyRootFilesystem: true
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
runAsUser: 1001
|
|
seLinuxOptions: {}
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /tmp
|
|
name: empty-dir
|
|
subPath: tmp-dir
|
|
- mountPath: /opt/bitnami/postgresql/conf
|
|
name: empty-dir
|
|
subPath: app-conf-dir
|
|
- mountPath: /opt/bitnami/postgresql/tmp
|
|
name: empty-dir
|
|
subPath: app-tmp-dir
|
|
- mountPath: /opt/bitnami/postgresql/secrets/
|
|
name: postgresql-password
|
|
- mountPath: /dev/shm
|
|
name: dshm
|
|
- mountPath: /bitnami/postgresql
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1001
|
|
fsGroupChangePolicy: Always
|
|
serviceAccount: gitea-postgresql
|
|
serviceAccountName: gitea-postgresql
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- emptyDir: {}
|
|
name: empty-dir
|
|
- name: postgresql-password
|
|
secret:
|
|
defaultMode: 420
|
|
secretName: gitea-postgresql
|
|
- emptyDir:
|
|
medium: Memory
|
|
name: dshm
|
|
updateStrategy:
|
|
rollingUpdate:
|
|
partition: 0
|
|
type: RollingUpdate
|
|
volumeClaimTemplates:
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 10Gi
|
|
volumeMode: Filesystem
|
|
status:
|
|
phase: Pending
|
|
status:
|
|
availableReplicas: 1
|
|
collisionCount: 0
|
|
currentReplicas: 1
|
|
currentRevision: gitea-postgresql-57587479cf
|
|
observedGeneration: 2
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updateRevision: gitea-postgresql-57587479cf
|
|
updatedReplicas: 1
|
|
- apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
annotations:
|
|
meta.helm.sh/release-name: gitea
|
|
meta.helm.sh/release-namespace: gitea
|
|
creationTimestamp: '2025-05-23T19:53:33Z'
|
|
generation: 2
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: valkey
|
|
app.kubernetes.io/part-of: valkey
|
|
app.kubernetes.io/version: 8.1.3
|
|
helm.sh/chart: valkey-3.0.31
|
|
name: gitea-valkey-primary
|
|
namespace: gitea
|
|
resourceVersion: '20406069'
|
|
uid: 40481ba9-b808-4215-b738-4a9a7f5dffb6
|
|
spec:
|
|
persistentVolumeClaimRetentionPolicy:
|
|
whenDeleted: Retain
|
|
whenScaled: Retain
|
|
podManagementPolicy: OrderedReady
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: valkey
|
|
serviceName: gitea-valkey-headless
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
checksum/configmap: c8cdc0c4c772ac3192446a08bf401c29f1e39f33614657d36e4bb1692e34b39f
|
|
checksum/health: e3a0f06458110f02986bb8df4391c43567355d3582dd02f25447184391196fbc
|
|
checksum/scripts: 791de9ea7b477455268cda3e85c8e58a1505e8d19ff8e851d78a246cb185a0f7
|
|
checksum/secret: 4b8cbd9693e7e45452b3b3213bc382ab02b9fb0a82991bfb0fec1e5e1193b9cd
|
|
creationTimestamp: null
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/managed-by: Helm
|
|
app.kubernetes.io/name: valkey
|
|
app.kubernetes.io/version: 8.1.3
|
|
helm.sh/chart: valkey-3.0.31
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
- podAffinityTerm:
|
|
labelSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: valkey
|
|
topologyKey: kubernetes.io/hostname
|
|
weight: 1
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- args:
|
|
- -c
|
|
- /opt/bitnami/scripts/start-scripts/start-primary.sh
|
|
command:
|
|
- /bin/bash
|
|
env:
|
|
- name: BITNAMI_DEBUG
|
|
value: 'false'
|
|
- name: VALKEY_REPLICATION_MODE
|
|
value: primary
|
|
- name: ALLOW_EMPTY_PASSWORD
|
|
value: 'no'
|
|
- name: VALKEY_PASSWORD_FILE
|
|
value: /opt/bitnami/valkey/secrets/valkey-password
|
|
- name: VALKEY_TLS_ENABLED
|
|
value: 'no'
|
|
- name: VALKEY_PORT
|
|
value: '6379'
|
|
image: docker.io/bitnami/valkey:8.1.1-debian-12-r0
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
exec:
|
|
command:
|
|
- sh
|
|
- -c
|
|
- /health/ping_liveness_local.sh 5
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 6
|
|
name: valkey
|
|
ports:
|
|
- containerPort: 6379
|
|
name: redis
|
|
protocol: TCP
|
|
readinessProbe:
|
|
exec:
|
|
command:
|
|
- sh
|
|
- -c
|
|
- /health/ping_readiness_local.sh 1
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 2
|
|
resources:
|
|
limits:
|
|
cpu: 150m
|
|
ephemeral-storage: 2Gi
|
|
memory: 192Mi
|
|
requests:
|
|
cpu: 100m
|
|
ephemeral-storage: 50Mi
|
|
memory: 128Mi
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
runAsGroup: 1001
|
|
runAsNonRoot: true
|
|
runAsUser: 1001
|
|
seLinuxOptions: {}
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /opt/bitnami/scripts/start-scripts
|
|
name: start-scripts
|
|
- mountPath: /health
|
|
name: health
|
|
- mountPath: /opt/bitnami/valkey/secrets/
|
|
name: valkey-password
|
|
- mountPath: /data
|
|
name: valkey-data
|
|
- mountPath: /opt/bitnami/valkey/mounted-etc
|
|
name: config
|
|
- mountPath: /opt/bitnami/valkey/etc/
|
|
name: empty-dir
|
|
subPath: app-conf-dir
|
|
- mountPath: /tmp
|
|
name: empty-dir
|
|
subPath: tmp-dir
|
|
dnsPolicy: ClusterFirst
|
|
enableServiceLinks: true
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext:
|
|
fsGroup: 1001
|
|
fsGroupChangePolicy: Always
|
|
serviceAccount: gitea-valkey-primary
|
|
serviceAccountName: gitea-valkey-primary
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- configMap:
|
|
defaultMode: 493
|
|
name: gitea-valkey-scripts
|
|
name: start-scripts
|
|
- configMap:
|
|
defaultMode: 493
|
|
name: gitea-valkey-health
|
|
name: health
|
|
- name: valkey-password
|
|
secret:
|
|
defaultMode: 420
|
|
items:
|
|
- key: valkey-password
|
|
path: valkey-password
|
|
secretName: gitea-valkey
|
|
- configMap:
|
|
defaultMode: 420
|
|
name: gitea-valkey-configuration
|
|
name: config
|
|
- emptyDir: {}
|
|
name: empty-dir
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
volumeClaimTemplates:
|
|
- apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app.kubernetes.io/component: primary
|
|
app.kubernetes.io/instance: gitea
|
|
app.kubernetes.io/name: valkey
|
|
name: valkey-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 8Gi
|
|
volumeMode: Filesystem
|
|
status:
|
|
phase: Pending
|
|
status:
|
|
availableReplicas: 1
|
|
collisionCount: 0
|
|
currentReplicas: 1
|
|
currentRevision: gitea-valkey-primary-7d55f7b7b9
|
|
observedGeneration: 2
|
|
readyReplicas: 1
|
|
replicas: 1
|
|
updateRevision: gitea-valkey-primary-7d55f7b7b9
|
|
updatedReplicas: 1
|
|
kind: List
|
|
metadata: {}
|