Compare commits
1 Commits
generic-de
...
2bb6c3f598
Author | SHA1 | Date | |
---|---|---|---|
2bb6c3f598
|
@@ -1,7 +1,6 @@
|
|||||||
name: lint-and-test
|
name: lint-and-test-charts
|
||||||
|
|
||||||
on:
|
on: pull_request
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
@@ -36,4 +35,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Chart Testing (lint)
|
- name: Run Chart Testing (lint)
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
run: ct lint --validate-maintainers=false --target-branch ${{ gitea.event.repository.default_branch }}
|
run: ct lint --target-branch ${{ gitea.event.repository.default_branch }}
|
||||||
|
@@ -1,35 +0,0 @@
|
|||||||
name: process-issues
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '@daily'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
process-issues:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Python Script
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: alexlebens/workflow-scripts
|
|
||||||
ref: main
|
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
|
||||||
path: scripts
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.13'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install requests
|
|
||||||
|
|
||||||
- name: Run Script
|
|
||||||
env:
|
|
||||||
INSTANCE_URL: ${{ vars.INSTANCE_URL }}
|
|
||||||
REPOSITORY: ${{ gitea.repository }}
|
|
||||||
TOKEN: ${{ secrets.BOT_TOKEN }}
|
|
||||||
STALE_DAYS: 3
|
|
||||||
STALE_TAG: 'stale'
|
|
||||||
EXCLUDE_TAG: 'renovate'
|
|
||||||
run: python ./scripts/scripts/process-issues.py
|
|
@@ -1,35 +0,0 @@
|
|||||||
name: process-pull-requests
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '@daily'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
process-pull-requests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Python Script
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
repository: alexlebens/workflow-scripts
|
|
||||||
ref: main
|
|
||||||
token: ${{ secrets.BOT_TOKEN }}
|
|
||||||
path: scripts
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.13'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: pip install requests
|
|
||||||
|
|
||||||
- name: Run Script
|
|
||||||
env:
|
|
||||||
INSTANCE_URL: ${{ vars.INSTANCE_URL }}
|
|
||||||
REPOSITORY: ${{ gitea.repository }}
|
|
||||||
TOKEN: ${{ secrets.BOT_TOKEN }}
|
|
||||||
STALE_DAYS: 3
|
|
||||||
STALE_TAG: 'stale'
|
|
||||||
REQUIRED_TAG: 'automerge'
|
|
||||||
run: python ./scripts/scripts/process-pull-requests.py
|
|
@@ -56,30 +56,11 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: ntfy Success
|
- name: Actions Ntfy
|
||||||
uses: niniyas/ntfy-action@master
|
run: |
|
||||||
if: success()
|
curl \
|
||||||
with:
|
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
-H "Content-Type: text/plain" \
|
||||||
title: 'Gitea Action'
|
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
||||||
priority: 3
|
${{ secrets.NTFY_URL }}
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,successfully,completed
|
|
||||||
details: 'Helm Chart for cloudflared release workflow has successfully completed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
|
|
||||||
- name: ntfy Failed
|
|
||||||
uses: niniyas/ntfy-action@master
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
|
||||||
title: 'Gitea Action'
|
|
||||||
priority: 4
|
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,failed
|
|
||||||
details: 'Helm Chart for cloudflared release workflow has failed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yml", "clear": true}]'
|
|
||||||
image: true
|
|
||||||
|
@@ -56,30 +56,11 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: ntfy Success
|
- name: Actions Ntfy
|
||||||
uses: niniyas/ntfy-action@master
|
run: |
|
||||||
if: success()
|
curl \
|
||||||
with:
|
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
-H "Content-Type: text/plain" \
|
||||||
title: 'Gitea Action'
|
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
||||||
priority: 3
|
${{ secrets.NTFY_URL }}
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,successfully,completed
|
|
||||||
details: 'Helm Chart for generic-device-plugin release workflow has successfully completed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
|
|
||||||
- name: ntfy Failed
|
|
||||||
uses: niniyas/ntfy-action@master
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
|
||||||
title: 'Gitea Action'
|
|
||||||
priority: 4
|
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,failed
|
|
||||||
details: 'Helm Chart for generic-device-plugin release workflow has failed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yml", "clear": true}]'
|
|
||||||
image: true
|
|
||||||
|
@@ -56,30 +56,11 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: ntfy Success
|
- name: Actions Ntfy
|
||||||
uses: niniyas/ntfy-action@master
|
run: |
|
||||||
if: success()
|
curl \
|
||||||
with:
|
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
-H "Content-Type: text/plain" \
|
||||||
title: 'Gitea Action'
|
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
||||||
priority: 3
|
${{ secrets.NTFY_URL }}
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,successfully,completed
|
|
||||||
details: 'Helm Chart for gitea-actions release workflow has successfully completed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
|
|
||||||
- name: ntfy Failed
|
|
||||||
uses: niniyas/ntfy-action@master
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
|
||||||
title: 'Gitea Action'
|
|
||||||
priority: 4
|
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,failed
|
|
||||||
details: 'Helm Chart for gitea-actions release workflow has failed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yml", "clear": true}]'
|
|
||||||
image: true
|
|
||||||
|
@@ -56,30 +56,11 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
${{ env.PACKAGE_PATH }}
|
${{ env.PACKAGE_PATH }}
|
||||||
|
|
||||||
- name: ntfy Success
|
- name: Actions Ntfy
|
||||||
uses: niniyas/ntfy-action@master
|
run: |
|
||||||
if: success()
|
curl \
|
||||||
with:
|
-H "Authorization: Bearer ${{ secrets.NTFY_CRED }}" \
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
-H "Title: Chart Released: ${{ env.CHART_NAME }}-${{ env.CHART_VERSION }}" \
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
-H "Content-Type: text/plain" \
|
||||||
title: 'Gitea Action'
|
-d $'Repo: ${{ gitea.repository }}\nCommit: ${{ gitea.sha }}\nRef: ${{ gitea.ref }}\nStatus: ${{ job.status}}' \
|
||||||
priority: 3
|
${{ secrets.NTFY_URL }}
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,successfully,completed
|
|
||||||
details: 'Helm Chart for postgres-cluster release workflow has successfully completed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
|
|
||||||
- name: ntfy Failed
|
|
||||||
uses: niniyas/ntfy-action@master
|
|
||||||
if: failure()
|
|
||||||
with:
|
|
||||||
url: '${{ secrets.NTFY_URL }}'
|
|
||||||
topic: '${{ secrets.NTFY_TOPIC }}'
|
|
||||||
title: 'Gitea Action'
|
|
||||||
priority: 4
|
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}'
|
|
||||||
tags: action,failed
|
|
||||||
details: 'Helm Chart for postgres-cluster release workflow has failed!'
|
|
||||||
icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png'
|
|
||||||
actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yml", "clear": true}]'
|
|
||||||
image: true
|
|
||||||
|
@@ -13,20 +13,18 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
renovate:
|
renovate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/renovatebot/renovate:41
|
container: ghcr.io/renovatebot/renovate:40
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- run: renovate
|
||||||
|
|
||||||
- name: Renovate
|
|
||||||
run: renovate
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_PLATFORM: gitea
|
RENOVATE_PLATFORM: gitea
|
||||||
RENOVATE_ENDPOINT: ${{ vars.INSTANCE_URL }}
|
RENOVATE_AUTODISCOVER: true
|
||||||
RENOVATE_REPOSITORIES: alexlebens/helm-charts
|
RENOVATE_ONBOARDING: true
|
||||||
|
RENOVATE_ENDPOINT: http://gitea-http.gitea:3000
|
||||||
RENOVATE_GIT_AUTHOR: Renovate Bot <renovate-bot@alexlebens.net>
|
RENOVATE_GIT_AUTHOR: Renovate Bot <renovate-bot@alexlebens.net>
|
||||||
LOG_LEVEL: info
|
LOG_LEVEL: debug
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.RENOVATE_GIT_PRIVATE_KEY }}
|
RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.RENOVATE_GIT_PRIVATE_KEY }}
|
||||||
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }}
|
||||||
RENOVATE_REDIS_URL: ${{ vars.RENOVATE_REDIS_URL }}
|
RENOVATE_REDIS_URL: redis://gitea-renovate-valkey-primary.gitea:6379
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
version: 1.18.0
|
version: 1.15.0
|
||||||
description: Cloudflared Tunnel
|
description: Cloudflared Tunnel
|
||||||
keywords:
|
keywords:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
@@ -13,6 +13,6 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
repository: https://bjw-s-labs.github.io/helm-charts/
|
||||||
version: 4.1.2
|
version: 4.0.1
|
||||||
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
||||||
appVersion: "2025.6.0"
|
appVersion: "2025.5.0"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# cloudflared
|
# cloudflared
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Cloudflared Tunnel
|
Cloudflared Tunnel
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ Cloudflared Tunnel
|
|||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.1.2 |
|
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.0.1 |
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ Cloudflared Tunnel
|
|||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret |
|
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret |
|
||||||
| existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token |
|
| existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token |
|
||||||
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.6.1"}` | Default image |
|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2025.5.0"}` | Default image |
|
||||||
| name | string | `"cloudflared"` | Name override of release |
|
| name | string | `"cloudflared"` | Name override of release |
|
||||||
| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources |
|
| resources | object | `{"requests":{"cpu":"10m","memory":"128Mi"}}` | Default resources |
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ existingSecretKey: cf-tunnel-token
|
|||||||
# -- Default image
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: cloudflare/cloudflared
|
repository: cloudflare/cloudflared
|
||||||
tag: "2025.7.0"
|
tag: "2025.5.0"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# -- Default resources
|
# -- Default resources
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: generic-device-plugin
|
name: generic-device-plugin
|
||||||
version: 0.4.0
|
version: 0.2.0
|
||||||
description: Generic Device Plugin
|
description: Generic Device Plugin
|
||||||
keywords:
|
keywords:
|
||||||
- generic-device-plugin
|
- generic-device-plugin
|
||||||
@@ -14,5 +14,5 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
repository: https://bjw-s-labs.github.io/helm-charts/
|
||||||
version: 4.1.2
|
version: 4.0.1
|
||||||
appVersion: 0.2.0
|
appVersion: 0.2.0
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# generic-device-plugin
|
# generic-device-plugin
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Generic Device Plugin
|
Generic Device Plugin
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ Generic Device Plugin
|
|||||||
|
|
||||||
| Repository | Name | Version |
|
| Repository | Name | Version |
|
||||||
|------------|------|---------|
|
|------------|------|---------|
|
||||||
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.1.2 |
|
| https://bjw-s-labs.github.io/helm-charts/ | common | 4.0.1 |
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ name: generic-device-plugin
|
|||||||
# -- Default image
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/squat/generic-device-plugin
|
repository: ghcr.io/squat/generic-device-plugin
|
||||||
tag: latest@sha256:1f779444c72c7bf06b082c44698d6268a8e642ebd9488a35c84a603087940e64
|
tag: latest@sha256:d7d0951df7f11479185fd9fba1c1cb4d9c8f3232d38a5468d6fe80074f2b45d5
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
# -- Domain used by devices for identifcation
|
# -- Domain used by devices for identifcation
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: gitea-actions
|
name: gitea-actions
|
||||||
version: 0.2.1
|
version: 0.1.2
|
||||||
description: Gitea Actions
|
description: Gitea Actions
|
||||||
keywords:
|
keywords:
|
||||||
- cicd
|
- cicd
|
||||||
@@ -12,4 +12,4 @@ sources:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
||||||
appVersion: 0.2.11
|
appVersion: 0.261.3
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# gitea-actions
|
# gitea-actions
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Gitea Actions
|
Gitea Actions
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ Gitea Actions
|
|||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| enabled | bool | `true` | |
|
| enabled | bool | `false` | |
|
||||||
| existingSecret | string | `""` | |
|
| existingSecret | string | `""` | |
|
||||||
| existingSecretKey | string | `""` | |
|
| existingSecretKey | string | `""` | |
|
||||||
| giteaRootURL | string | `""` | |
|
| giteaRootURL | string | `""` | |
|
||||||
@@ -45,7 +45,6 @@ Gitea Actions
|
|||||||
| statefulset.labels | object | `{}` | |
|
| statefulset.labels | object | `{}` | |
|
||||||
| statefulset.nodeSelector | object | `{}` | |
|
| statefulset.nodeSelector | object | `{}` | |
|
||||||
| statefulset.persistence.size | string | `"1Gi"` | |
|
| statefulset.persistence.size | string | `"1Gi"` | |
|
||||||
| statefulset.persistence.storageClass | string | `""` | |
|
|
||||||
| statefulset.replicas | int | `1` | |
|
| statefulset.replicas | int | `1` | |
|
||||||
| statefulset.resources | object | `{}` | |
|
| statefulset.resources | object | `{}` | |
|
||||||
| statefulset.tolerations | list | `[]` | |
|
| statefulset.tolerations | list | `[]` | |
|
||||||
|
@@ -33,11 +33,34 @@ Create chart name and version as used by the chart label.
|
|||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create image name and tag used by the deployment.
|
||||||
|
*/}}
|
||||||
|
{{- define "gitea.actions.image" -}}
|
||||||
|
{{- $fullOverride := .Values.image.fullOverride | default "" -}}
|
||||||
|
{{- $registry := .Values.global.imageRegistry | default .Values.image.registry -}}
|
||||||
|
{{- $repository := .Values.image.repository -}}
|
||||||
|
{{- $separator := ":" -}}
|
||||||
|
{{- $tag := .Values.image.tag | default .Chart.AppVersion | toString -}}
|
||||||
|
{{- $rootless := ternary "-rootless" "" (.Values.image.rootless) -}}
|
||||||
|
{{- $digest := "" -}}
|
||||||
|
{{- if .Values.image.digest }}
|
||||||
|
{{- $digest = (printf "@%s" (.Values.image.digest | toString)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if $fullOverride }}
|
||||||
|
{{- printf "%s" $fullOverride -}}
|
||||||
|
{{- else if $registry }}
|
||||||
|
{{- printf "%s/%s%s%s%s%s" $registry $repository $separator $tag $rootless $digest -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s%s%s%s%s" $repository $separator $tag $rootless $digest -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Storage Class
|
Storage Class
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "gitea.actions.persistence.storageClass" -}}
|
{{- define "gitea.actions.persistence.storageClass" -}}
|
||||||
{{- $storageClass := (tpl ( default "" .Values.statefulset.persistence.storageClass) .) | default (tpl ( default "" .Values.global.storageClass) .) }}
|
{{- $storageClass := (tpl ( default "" .Values.persistence.storageClass) .) | default (tpl ( default "" .Values.global.storageClass) .) }}
|
||||||
{{- if $storageClass }}
|
{{- if $storageClass }}
|
||||||
storageClassName: {{ $storageClass | quote }}
|
storageClassName: {{ $storageClass | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -50,8 +73,8 @@ Common labels
|
|||||||
helm.sh/chart: {{ include "gitea.actions.chart" . }}
|
helm.sh/chart: {{ include "gitea.actions.chart" . }}
|
||||||
app: {{ include "gitea.actions.name" . }}
|
app: {{ include "gitea.actions.name" . }}
|
||||||
{{ include "gitea.actions.selectorLabels" . }}
|
{{ include "gitea.actions.selectorLabels" . }}
|
||||||
app.kubernetes.io/version: {{ .Values.statefulset.actRunner.tag | default .Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
|
||||||
version: {{ .Values.statefulset.actRunner.tag | default .Chart.AppVersion | quote }}
|
version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
@@ -59,8 +82,8 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|||||||
helm.sh/chart: {{ include "gitea.actions.chart" . }}
|
helm.sh/chart: {{ include "gitea.actions.chart" . }}
|
||||||
app: {{ include "gitea.actions.name" . }}-act-runner
|
app: {{ include "gitea.actions.name" . }}-act-runner
|
||||||
{{ include "gitea.actions.selectorLabels.actRunner" . }}
|
{{ include "gitea.actions.selectorLabels.actRunner" . }}
|
||||||
app.kubernetes.io/version: {{ .Values.statefulset.actRunner.tag | default .Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
|
||||||
version: {{ .Values.statefulset.actRunner.tag | default .Chart.AppVersion | quote }}
|
version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ metadata:
|
|||||||
{{- with .Values.statefulset.annotations }}
|
{{- with .Values.statefulset.annotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "gitea.actions.fullname" . }}-act-runner
|
name: {{ include "gitea.actions.fullname" . }}-actions
|
||||||
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.statefulset.replicas }}
|
replicas: {{ .Values.statefulset.replicas }}
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
## @param existingSecret Secret that contains the token
|
## @param existingSecret Secret that contains the token
|
||||||
## @param existingSecretKey Secret key
|
## @param existingSecretKey Secret key
|
||||||
## @param giteaRootURL URL the act_runner registers and connect with
|
## @param giteaRootURL URL the act_runner registers and connect with
|
||||||
enabled: true
|
enabled: false
|
||||||
statefulset:
|
statefulset:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
annotations: {}
|
annotations: {}
|
||||||
@@ -75,7 +75,6 @@ statefulset:
|
|||||||
# value: "1"
|
# value: "1"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
storageClass: ""
|
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
|
|
||||||
init:
|
init:
|
||||||
|
@@ -21,7 +21,7 @@ cluster:
|
|||||||
# -- Default image
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
tag: "17.5-1-bullseye"
|
tag: "17.5-standard-bullseye"
|
||||||
|
|
||||||
# -- Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated.
|
# -- Image pull policy. One of Always, Never or IfNotPresent. If not defined, it defaults to IfNotPresent. Cannot be updated.
|
||||||
# More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
|
# More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
|
||||||
|
@@ -19,14 +19,7 @@
|
|||||||
"addLabels": [
|
"addLabels": [
|
||||||
"chart"
|
"chart"
|
||||||
],
|
],
|
||||||
"automerge": false,
|
"automerge": false
|
||||||
"bumpVersions": [
|
|
||||||
{
|
|
||||||
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
|
|
||||||
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
|
|
||||||
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Label images",
|
"description": "Label images",
|
||||||
@@ -36,14 +29,7 @@
|
|||||||
"addLabels": [
|
"addLabels": [
|
||||||
"image"
|
"image"
|
||||||
],
|
],
|
||||||
"automerge": false,
|
"automerge": false
|
||||||
"bumpVersions": [
|
|
||||||
{
|
|
||||||
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
|
|
||||||
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
|
|
||||||
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "CNPG image",
|
"description": "CNPG image",
|
||||||
@@ -57,14 +43,7 @@
|
|||||||
"image"
|
"image"
|
||||||
],
|
],
|
||||||
"automerge": false,
|
"automerge": false,
|
||||||
"versioning": "deb",
|
"versioning": "deb"
|
||||||
"bumpVersions": [
|
|
||||||
{
|
|
||||||
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
|
|
||||||
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
|
|
||||||
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user