Skip to content

Commit a5d1978

Browse files
committed
Fixes cnoe-io#282, Fixes cnoe-io#247, Fixes cnoe-io#243, Use gitea 1.22.0
Signed-off-by: Jesse Sanford <[email protected]>
1 parent 2b53803 commit a5d1978

File tree

3 files changed

+29
-23
lines changed

3 files changed

+29
-23
lines changed

hack/gitea/generate-manifests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33

44
INSTALL_YAML="pkg/controllers/localbuild/resources/gitea/k8s/install.yaml"
55
GITEA_DIR="./hack/gitea"
6-
CHART_VERSION="10.1.3"
6+
CHART_VERSION="10.1.4"
77

88
echo "# GITEA INSTALL RESOURCES" >${INSTALL_YAML}
99
echo "# This file is auto-generated with 'hack/gitea/generate-manifests.sh'" >>${INSTALL_YAML}

hack/gitea/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ ingress:
4040

4141
image:
4242
pullPolicy: "IfNotPresent"
43+
# Overrides the image tag whose default is the chart appVersion.
44+
tag: "1.22.0"
45+
# Adds -rootless suffix to image name
4346
rootless: true

pkg/controllers/localbuild/resources/gitea/k8s/install.yaml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ kind: Secret
66
metadata:
77
name: my-gitea-inline-config
88
labels:
9-
helm.sh/chart: gitea-10.1.3
9+
helm.sh/chart: gitea-10.1.4
1010
app: gitea
1111
app.kubernetes.io/name: gitea
1212
app.kubernetes.io/instance: my-gitea
13-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
14-
version: "1.21.7-cnoe-patches"
13+
app.kubernetes.io/version: "1.22.0"
14+
version: "1.22.0"
1515
app.kubernetes.io/managed-by: Helm
1616
type: Opaque
1717
stringData:
@@ -48,12 +48,12 @@ kind: Secret
4848
metadata:
4949
name: my-gitea
5050
labels:
51-
helm.sh/chart: gitea-10.1.3
51+
helm.sh/chart: gitea-10.1.4
5252
app: gitea
5353
app.kubernetes.io/name: gitea
5454
app.kubernetes.io/instance: my-gitea
55-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
56-
version: "1.21.7-cnoe-patches"
55+
app.kubernetes.io/version: "1.22.0"
56+
version: "1.22.0"
5757
app.kubernetes.io/managed-by: Helm
5858
type: Opaque
5959
stringData:
@@ -220,12 +220,12 @@ kind: Secret
220220
metadata:
221221
name: my-gitea-init
222222
labels:
223-
helm.sh/chart: gitea-10.1.3
223+
helm.sh/chart: gitea-10.1.4
224224
app: gitea
225225
app.kubernetes.io/name: gitea
226226
app.kubernetes.io/instance: my-gitea
227-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
228-
version: "1.21.7-cnoe-patches"
227+
app.kubernetes.io/version: "1.22.0"
228+
version: "1.22.0"
229229
app.kubernetes.io/managed-by: Helm
230230
type: Opaque
231231
stringData:
@@ -321,10 +321,13 @@ metadata:
321321
namespace: gitea
322322
annotations:
323323
helm.sh/resource-policy: keep
324+
labels:
325+
{}
324326
spec:
325327
accessModes:
326328
- ReadWriteOnce
327329
volumeMode: Filesystem
330+
328331
resources:
329332
requests:
330333
storage: 5Gi
@@ -335,12 +338,12 @@ kind: Service
335338
metadata:
336339
name: my-gitea-http
337340
labels:
338-
helm.sh/chart: gitea-10.1.3
341+
helm.sh/chart: gitea-10.1.4
339342
app: gitea
340343
app.kubernetes.io/name: gitea
341344
app.kubernetes.io/instance: my-gitea
342-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
343-
version: "1.21.7-cnoe-patches"
345+
app.kubernetes.io/version: "1.22.0"
346+
version: "1.22.0"
344347
app.kubernetes.io/managed-by: Helm
345348
annotations:
346349
{}
@@ -361,12 +364,12 @@ kind: Service
361364
metadata:
362365
name: my-gitea-ssh
363366
labels:
364-
helm.sh/chart: gitea-10.1.3
367+
helm.sh/chart: gitea-10.1.4
365368
app: gitea
366369
app.kubernetes.io/name: gitea
367370
app.kubernetes.io/instance: my-gitea
368-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
369-
version: "1.21.7-cnoe-patches"
371+
app.kubernetes.io/version: "1.22.0"
372+
version: "1.22.0"
370373
app.kubernetes.io/managed-by: Helm
371374
annotations:
372375
{}
@@ -390,12 +393,12 @@ metadata:
390393
name: my-gitea
391394
annotations:
392395
labels:
393-
helm.sh/chart: gitea-10.1.3
396+
helm.sh/chart: gitea-10.1.4
394397
app: gitea
395398
app.kubernetes.io/name: gitea
396399
app.kubernetes.io/instance: my-gitea
397-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
398-
version: "1.21.7-cnoe-patches"
400+
app.kubernetes.io/version: "1.22.0"
401+
version: "1.22.0"
399402
app.kubernetes.io/managed-by: Helm
400403
spec:
401404
replicas: 1
@@ -411,14 +414,14 @@ spec:
411414
template:
412415
metadata:
413416
annotations:
414-
checksum/config: dc8a742ffa47df3321e68788f9069f104e7e3f7448767e885fb2a4cc85a1510e
417+
checksum/config: 9b7b5c7586d38c5c0feeb0c69191c8fbdb6bfac258ad125dd26b9a125ed67173
415418
labels:
416-
helm.sh/chart: gitea-10.1.3
419+
helm.sh/chart: gitea-10.1.4
417420
app: gitea
418421
app.kubernetes.io/name: gitea
419422
app.kubernetes.io/instance: my-gitea
420-
app.kubernetes.io/version: "1.21.7-cnoe-patches"
421-
version: "1.21.7-cnoe-patches"
423+
app.kubernetes.io/version: "1.22.0"
424+
version: "1.22.0"
422425
app.kubernetes.io/managed-by: Helm
423426
spec:
424427

0 commit comments

Comments
 (0)