1 Commits
12 changed files with 20 additions and 289 deletions

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
helm/charts/
helm/Chart.lock
/.cr-release-packages/
.idea/
-12
View File
@@ -1,12 +0,0 @@
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- ["@semantic-release/exec", {
"prepareCmd": "sed -i 's/^version:.*/version: \"${nextRelease.version}\"/' helm/Chart.yaml && sed -i 's/^appVersion:.*/appVersion: \"${nextRelease.version}\"/' helm/Chart.yaml"
}]
- ["@semantic-release/git", {
"assets": ["CHANGELOG.md", "helm/Chart.yaml"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}]
- "@forge-for-gitea/semantic-release-gitea"
-60
View File
@@ -1,60 +0,0 @@
when:
- event: push
branch: [main]
path:
include:
- 'helm/**'
- '.woodpecker/**'
- event: tag
ref: "refs/tags/v*"
steps:
- name: release
image: node:24-alpine
environment:
GITEA_TOKEN:
from_secret: RELEASE_TOKEN
GITEA_USERNAME:
from_secret: RELEASE_USERNAME
GITEA_URL: ${CI_FORGE_URL}
commands:
- apk add --no-cache git
- git config --global credential.helper store
- echo "https://$${GITEA_USERNAME}:$${GITEA_TOKEN}@git.barbiric.io" > ~/.git-credentials
- npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/git @semantic-release/exec @forge-for-gitea/semantic-release-gitea
- npx semantic-release
when:
event: push
branch: main
- name: package-charts
image: quay.io/helmpack/chart-testing:v3.11.0
commands:
- mkdir -p .cr-release-packages
- |
helm dependency update helm
helm package helm -d .cr-release-packages
when:
event: tag
- name: publish-charts
image: quay.io/helmpack/chart-testing:v3.11.0
environment:
GITEA_USERNAME:
from_secret: RELEASE_USERNAME
GITEA_TOKEN:
from_secret: RELEASE_TOKEN
commands:
- |
for pkg in .cr-release-packages/*.tgz; do
if [ -f "$pkg" ]; then
echo "Publishing $pkg to Gitea..."
curl -s -f \
-u "$${GITEA_USERNAME}:$${GITEA_TOKEN}" \
-X POST \
--upload-file "$pkg" \
"${CI_FORGE_URL}/api/packages/${CI_REPO_OWNER}/helm/api/charts"
fi
done
when:
event: tag
-21
View File
@@ -1,21 +0,0 @@
when:
- event: cron
cron: "renovate"
- event: manual
steps:
- name: renovate
image: renovate/renovate:43.15
environment:
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: ${CI_FORGE_URL}
RENOVATE_REPOSITORIES: ${CI_REPO}
RENOVATE_TOKEN:
from_secret: RENOVATE_CI_KEY
RENOVATE_ONBOARDING: false
RENOVATE_GITHUB_COM_TOKEN:
from_secret: RENOVATE_GH_KEY
LOG_LEVEL: info
commands:
- renovate ${CI_REPO}
-19
View File
@@ -1,19 +0,0 @@
# [1.1.0](https://git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy-helm/compare/v1.0.0...v1.1.0) (2026-02-15)
### Features
* change renovate commit type for app, trigger release ([b865bef](https://git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy-helm/commit/b865bef6cf702887494b6c71af5fe3ee3e7f472a))
# 1.0.0 (2026-02-15)
### Bug Fixes
* **ci:** download helm deps in pipeline ([8ddc0dc](https://git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy-helm/commit/8ddc0dce7c48967fcaf3f823c3b1a4759d448019))
* **ci:** refactor, add secrets ([c294ce2](https://git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy-helm/commit/c294ce250cb394a128614871bd1a28fbbce4126e))
### Features
* add initial chart files ([c30fb61](https://git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy-helm/commit/c30fb61d6f91185741ac81f9576fc3b6424e911d))
+18
View File
@@ -0,0 +1,18 @@
MIT License
Copyright (c) 2026 barbirict
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
+2 -46
View File
@@ -1,47 +1,3 @@
# A helm chart for opencloud-oidc-webfinger-proxy
# opencloud-oidc-webfinger-proxy-helm
## Status
This is a very basic chart that deploys [opencloud-oidc-webfinger-proxy](https://git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy).
## Development
```bash
mise devdeps #Install dev tools
mise helm-lint #Lint helm chart
mise helm-template #Preview helm chart output
mise readme #Generate helm chart README
```
## Parameters
### Common Configuration
| Name | Description | Value |
| --------------------------------------------------------------------- | ---------------------------------------- | ---------------------------------------------------------- |
| `common.controllers.main.containers.app.image.repository` | Image repository | `git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy` |
| `common.controllers.main.containers.app.image.tag` | Image tag (defaults to Chart.AppVersion) | `{{ .Chart.AppVersion }}` |
| `common.controllers.main.containers.app.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `common.controllers.main.containers.app.env[0].name` | Environment variable name | `PORT` |
| `common.controllers.main.containers.app.env[0].value` | Application listen port | `9210` |
| `common.controllers.main.containers.app.envFrom[0].configMapRef.name` | ConfigMap name for env vars | `opencloud-oidc-webfinger-proxy-config` |
| `common.controllers.main.containers.app.probes.liveness.enabled` | Enable liveness probe | `true` |
| `common.controllers.main.containers.app.probes.readiness.enabled` | Enable readiness probe | `true` |
| `common.controllers.main.containers.app.resources.requests.cpu` | CPU request | `100m` |
| `common.controllers.main.containers.app.resources.requests.memory` | Memory request | `64Mi` |
| `common.controllers.main.containers.app.resources.limits.cpu` | CPU limit | `250m` |
| `common.controllers.main.containers.app.resources.limits.memory` | Memory limit | `128Mi` |
### Service Configuration
| Name | Description | Value |
| ------------------------------------ | ---------------------------- | ------ |
| `common.service.app.controller` | Controller to associate with | `main` |
| `common.service.app.ports.http.port` | HTTP service port | `9210` |
### ConfigMap Configuration
| Name | Description | Value |
| ------------------------------------------------ | ------------------------------------------- | ---------------------------------------- |
| `common.configMaps.config.data.UPSTREAM_URL` | Upstream URL to proxy requests to | `https://cloud.domain.com` |
| `common.configMaps.config.data.HREF_PATTERN` | Pattern to match in href attributes | `https://auth.domain.com/application/o/` |
| `common.configMaps.config.data.HREF_REPLACEMENT` | Replacement value for matched href patterns | `https://auth.domain.com/application/o/` |
| `common.configMaps.config.data.DEFAULT_SUFFIX` | Default suffix appended to requests | `opencloud` |
OpenCloud OIDC WebFinger Proxy
-10
View File
@@ -1,10 +0,0 @@
apiVersion: v2
name: opencloud-oidc-webfinger-proxy
description: OpenCloud OIDC WebFinger Proxy
version: "1.1.0"
appVersion: "1.1.0"
type: application
dependencies:
- name: common
version: 4.5.0
repository: https://bjw-s-labs.github.io/helm-charts/
-1
View File
@@ -1 +0,0 @@
{{ include "bjw-s.common.loader.all" . }}
-64
View File
@@ -1,64 +0,0 @@
## @section Common Configuration
common:
controllers:
main:
containers:
app:
image:
## @param common.controllers.main.containers.app.image.repository Image repository
repository: git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy
## @param common.controllers.main.containers.app.image.tag Image tag (defaults to Chart.AppVersion)
tag: "{{ .Chart.AppVersion }}"
## @param common.controllers.main.containers.app.image.pullPolicy Image pull policy
pullPolicy: IfNotPresent
## @param common.controllers.main.containers.app.env[0].name Environment variable name
## @param common.controllers.main.containers.app.env[0].value Application listen port
env:
- name: PORT
value: 9210
envFrom:
- configMapRef:
## @param common.controllers.main.containers.app.envFrom[0].configMapRef.name ConfigMap name for env vars
name: opencloud-oidc-webfinger-proxy-config
probes:
liveness:
## @param common.controllers.main.containers.app.probes.liveness.enabled Enable liveness probe
enabled: true
readiness:
## @param common.controllers.main.containers.app.probes.readiness.enabled Enable readiness probe
enabled: true
resources:
requests:
## @param common.controllers.main.containers.app.resources.requests.cpu CPU request
cpu: "100m"
## @param common.controllers.main.containers.app.resources.requests.memory Memory request
memory: "64Mi"
limits:
## @param common.controllers.main.containers.app.resources.limits.cpu CPU limit
cpu: "250m"
## @param common.controllers.main.containers.app.resources.limits.memory Memory limit
memory: "128Mi"
## @section Service Configuration
service:
app:
## @param common.service.app.controller Controller to associate with
controller: main
ports:
http:
## @param common.service.app.ports.http.port HTTP service port
port: 9210
## @section ConfigMap Configuration
configMaps:
config:
data:
## @param common.configMaps.config.data.UPSTREAM_URL Upstream URL to proxy requests to
UPSTREAM_URL: https://cloud.domain.com
## @param common.configMaps.config.data.HREF_PATTERN Pattern to match in href attributes
HREF_PATTERN: https://auth.domain.com/application/o/
## @param common.configMaps.config.data.HREF_REPLACEMENT Replacement value for matched href patterns
HREF_REPLACEMENT: https://auth.domain.com/application/o/
## @param common.configMaps.config.data.DEFAULT_SUFFIX Default suffix appended to requests
DEFAULT_SUFFIX: opencloud
-18
View File
@@ -1,18 +0,0 @@
[tools]
go = "1.26.0"
[tasks.devdeps]
description = "Install dev tools"
run = "go install github.com/cozystack/readme-generator-for-helm@latest"
[tasks.readme]
description = "Generate helm chart README"
run = "readme-generator-for-helm --values helm/values.yaml --readme README.md"
[tasks.helm-lint]
description = "Lint helm chart"
run = "helm lint helm/"
[tasks.helm-template]
description = "Preview helm chart output"
run = "helm template opencloud-oidc-webfinger-proxy helm/"
-34
View File
@@ -1,34 +0,0 @@
{
"extends": [
"config:recommended"
],
"dependencyDashboard": true,
"assignees": [
"barbirict"
],
"gitAuthor": "Renovate Bot <renovate-bot@barbiric.io>",
"major": {
"dependencyDashboardApproval": true
},
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/Chart\\.yaml$/"
],
"matchStrings": [
"appVersion:\\s*\"?(?<currentValue>[^\"\\s]+)\"?"
],
"depNameTemplate": "git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy",
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"matchDepNames": [
"git.barbiric.io/barbirict/opencloud-oidc-webfinger-proxy"
],
"semanticCommitType": "feat"
}
]
}