You've already forked athens-proxy-charts
Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 85f3d9058e | |||
|
4b5e12af96
|
|||
|
6abfe2e8c2
|
|||
|
9835e55788
|
|||
| ee73920a21 | |||
|
f9c4d3938c
|
|||
|
46ce9352e4
|
|||
|
5e602662df
|
|||
|
0f91c70c3f
|
|||
| b0e8c4d316 | |||
|
53329bc944
|
|||
| 98fdecc448 | |||
|
89030770af
|
|||
| 7b4aab43af | |||
|
26fbf722a0
|
|||
| 50f2854026 | |||
|
7f3b0f70c9
|
@@ -10,7 +10,7 @@ jobs:
|
|||||||
name: "Upload artifacthub-repo.yml to OCI registry"
|
name: "Upload artifacthub-repo.yml to OCI registry"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
- uses: docker/login-action@v4.2.0
|
- uses: docker/login-action@v4.2.0
|
||||||
with:
|
with:
|
||||||
registry: ${{ github.server_url }}
|
registry: ${{ github.server_url }}
|
||||||
|
|||||||
@@ -15,14 +15,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
generate-parameters:
|
generate-parameters:
|
||||||
container:
|
container:
|
||||||
image: docker.io/library/node:26.2.0-alpine
|
image: docker.io/library/node:26.3.0-alpine
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- name: Install tooling
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git npm
|
apk add git npm
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
- name: Generate parameter section in README
|
- name: Generate parameter section in README
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ jobs:
|
|||||||
helm-lint:
|
helm-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
- uses: azure/setup-helm@v5.0.0
|
- uses: azure/setup-helm@v5.0.0
|
||||||
with:
|
with:
|
||||||
version: v4.2.0 # renovate: datasource=github-releases depName=helm/helm
|
version: v4.2.0 # renovate: datasource=github-releases depName=helm/helm
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
helm-unittest:
|
helm-unittest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
- uses: azure/setup-helm@v5.0.0
|
- uses: azure/setup-helm@v5.0.0
|
||||||
with:
|
with:
|
||||||
version: v4.2.0 # renovate: datasource=github-releases depName=helm/helm
|
version: v4.2.0 # renovate: datasource=github-releases depName=helm/helm
|
||||||
|
|||||||
@@ -15,14 +15,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
markdown-link-checker:
|
markdown-link-checker:
|
||||||
container:
|
container:
|
||||||
image: docker.io/library/node:26.2.0-alpine
|
image: docker.io/library/node:26.3.0-alpine
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- name: Install tooling
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git npm
|
apk add git npm
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
- name: Verify links in markdown files
|
- name: Verify links in markdown files
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
@@ -30,14 +30,14 @@ jobs:
|
|||||||
|
|
||||||
markdown-lint:
|
markdown-lint:
|
||||||
container:
|
container:
|
||||||
image: docker.io/library/node:26.2.0-alpine
|
image: docker.io/library/node:26.3.0-alpine
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- name: Install tooling
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add git
|
apk add git
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
- name: Lint markdown files
|
- name: Lint markdown files
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: volker-raschek/cosign-installer@v4.1.2-rc4
|
- uses: volker-raschek/cosign-installer@v4.1.2-rc4
|
||||||
with:
|
with:
|
||||||
cosign-release: "v3.0.6" # renovate: datasource=github-tags depName=sigstore/cosign
|
cosign-release: "v3.1.1" # renovate: datasource=github-tags depName=sigstore/cosign
|
||||||
|
|
||||||
- uses: azure/setup-helm@v5.0.0
|
- uses: azure/setup-helm@v5.0.0
|
||||||
with:
|
with:
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
HELM_SIGSTORE_VERSION: "0.3.0" # renovate: datasource=github-tags depName=sigstore/helm-sigstore extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
|
HELM_SIGSTORE_VERSION: "0.3.0" # renovate: datasource=github-tags depName=sigstore/helm-sigstore extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
|
||||||
HELM_SCHEMA_VALUES_VERSION: "2.4.0" # renovate: datasource=github-tags depName=losisin/helm-values-schema-json extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
|
HELM_SCHEMA_VALUES_VERSION: "2.4.0" # renovate: datasource=github-tags depName=losisin/helm-values-schema-json extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
|
||||||
HELM_UNITTEST_VERSION: "1.1.0" # renovate: datasource=github-tags depName=helm-unittest/helm-unittest extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
|
HELM_UNITTEST_VERSION: "1.1.1" # renovate: datasource=github-tags depName=helm-unittest/helm-unittest extractVersion='^v(?<version>\d+\.\d+\.\d+)$'
|
||||||
run: |
|
run: |
|
||||||
helm plugin install --verify=false https://github.com/sigstore/helm-sigstore.git --version "${HELM_SIGSTORE_VERSION}" 1> /dev/null
|
helm plugin install --verify=false https://github.com/sigstore/helm-sigstore.git --version "${HELM_SIGSTORE_VERSION}" 1> /dev/null
|
||||||
helm plugin install --verify=false https://github.com/losisin/helm-values-schema-json.git --version "${HELM_SCHEMA_VALUES_VERSION}" 1> /dev/null
|
helm plugin install --verify=false https://github.com/losisin/helm-values-schema-json.git --version "${HELM_SCHEMA_VALUES_VERSION}" 1> /dev/null
|
||||||
@@ -65,7 +65,7 @@ jobs:
|
|||||||
gpg --batch --yes --export "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/pubring.gpg"
|
gpg --batch --yes --export "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/pubring.gpg"
|
||||||
gpg --batch --yes --passphrase-fd 0 --export-secret-keys "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/secring.gpg" <<< "${GPG_PRIVATE_KEY_PASSPHRASE}"
|
gpg --batch --yes --passphrase-fd 0 --export-secret-keys "${GPG_PRIVATE_KEY_FINGERPRINT}" 1> "${HOME}/.gnupg/secring.gpg" <<< "${GPG_PRIVATE_KEY_PASSPHRASE}"
|
||||||
|
|
||||||
- uses: actions/checkout@v6.0.2
|
- uses: actions/checkout@v6.0.3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"yaml.schemas": {
|
"yaml.schemas": {
|
||||||
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v1.1.0/schema/helm-testsuite.json": [
|
"https://raw.githubusercontent.com/helm-unittest/helm-unittest/v1.1.1/schema/helm-testsuite.json": [
|
||||||
"/unittests/**/*.yaml"
|
"/unittests/**/*.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,12 +1,6 @@
|
|||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
CONTAINER_RUNTIME?=$(shell which podman)
|
CONTAINER_RUNTIME?=$(shell which podman)
|
||||||
|
|
||||||
# HELM_IMAGE
|
|
||||||
HELM_IMAGE_REGISTRY_HOST?=docker.io
|
|
||||||
HELM_IMAGE_REPOSITORY?=volkerraschek/helm
|
|
||||||
HELM_IMAGE_VERSION?=3.19.0 # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/volkerraschek/helm
|
|
||||||
HELM_IMAGE_FULLY_QUALIFIED=${HELM_IMAGE_REGISTRY_HOST}/${HELM_IMAGE_REPOSITORY}:${HELM_IMAGE_VERSION}
|
|
||||||
|
|
||||||
# NODE_IMAGE
|
# NODE_IMAGE
|
||||||
NODE_IMAGE_REGISTRY_HOST?=docker.io
|
NODE_IMAGE_REGISTRY_HOST?=docker.io
|
||||||
NODE_IMAGE_REPOSITORY?=library/node
|
NODE_IMAGE_REPOSITORY?=library/node
|
||||||
@@ -66,32 +60,6 @@ container-run/readme/parameters:
|
|||||||
${NODE_IMAGE_FULLY_QUALIFIED} \
|
${NODE_IMAGE_FULLY_QUALIFIED} \
|
||||||
npm install && npm run readme:parameters
|
npm install && npm run readme:parameters
|
||||||
|
|
||||||
# CONTAINER RUN - HELM UNITTESTS
|
|
||||||
# ==============================================================================
|
|
||||||
PHONY+=container-run/helm-unittests
|
|
||||||
container-run/helm-unittests:
|
|
||||||
${CONTAINER_RUNTIME} run \
|
|
||||||
--env HELM_REPO_PASSWORD=${CHART_SERVER_PASSWORD} \
|
|
||||||
--env HELM_REPO_USERNAME=${CHART_SERVER_USERNAME} \
|
|
||||||
--rm \
|
|
||||||
--volume $(shell pwd):$(shell pwd) \
|
|
||||||
--workdir $(shell pwd) \
|
|
||||||
${HELM_IMAGE_FULLY_QUALIFIED} \
|
|
||||||
unittest --strict --file 'unittests/**/*.yaml' ./
|
|
||||||
|
|
||||||
# CONTAINER RUN - HELM UPDATE DEPENDENCIES
|
|
||||||
# ==============================================================================
|
|
||||||
PHONY+=container-run/helm-update-dependencies
|
|
||||||
container-run/helm-update-dependencies:
|
|
||||||
${CONTAINER_RUNTIME} run \
|
|
||||||
--env HELM_REPO_PASSWORD=${CHART_SERVER_PASSWORD} \
|
|
||||||
--env HELM_REPO_USERNAME=${CHART_SERVER_USERNAME} \
|
|
||||||
--rm \
|
|
||||||
--volume $(shell pwd):$(shell pwd) \
|
|
||||||
--workdir $(shell pwd) \
|
|
||||||
${HELM_IMAGE_FULLY_QUALIFIED} \
|
|
||||||
dependency update
|
|
||||||
|
|
||||||
# CONTAINER RUN - MARKDOWN-LINT
|
# CONTAINER RUN - MARKDOWN-LINT
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
PHONY+=container-run/helm-lint
|
PHONY+=container-run/helm-lint
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ version of the chart must be in sync with the `values.yaml`. Newer *minor* versi
|
|||||||
versions can break something!
|
versions can break something!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CHART_VERSION=1.4.1
|
CHART_VERSION=2.0.1
|
||||||
helm show values volker.raschek/athens-proxy --version "${CHART_VERSION}" > values.yaml
|
helm show values volker.raschek/athens-proxy --version "${CHART_VERSION}" > values.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ The helm chart also contains a persistent volume claim definition. It persistent
|
|||||||
Use the `--set` argument to persist your data.
|
Use the `--set` argument to persist your data.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CHART_VERSION=1.4.1
|
CHART_VERSION=2.0.1
|
||||||
helm install --version "${CHART_VERSION}" athens-proxy volker.raschek/athens-proxy \
|
helm install --version "${CHART_VERSION}" athens-proxy volker.raschek/athens-proxy \
|
||||||
persistence.enabled=true
|
persistence.enabled=true
|
||||||
```
|
```
|
||||||
@@ -81,7 +81,7 @@ Further information about this topic can be found in one of Kanishk's blog
|
|||||||
> Please take care the a CPU limit < `1000m` can also lead to CPU throttling. Please read the linked documentation carefully.
|
> Please take care the a CPU limit < `1000m` can also lead to CPU throttling. Please read the linked documentation carefully.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CHART_VERSION=1.4.1
|
CHART_VERSION=2.0.1
|
||||||
helm install --version "${CHART_VERSION}" athens-proxy volker.raschek/athens-proxy \
|
helm install --version "${CHART_VERSION}" athens-proxy volker.raschek/athens-proxy \
|
||||||
--set 'deployment.athensProxy.env.name=GOMAXPROCS' \
|
--set 'deployment.athensProxy.env.name=GOMAXPROCS' \
|
||||||
--set 'deployment.athensProxy.env.valueFrom.resourceFieldRef.resource=limits.cpu' \
|
--set 'deployment.athensProxy.env.valueFrom.resourceFieldRef.resource=limits.cpu' \
|
||||||
@@ -105,7 +105,7 @@ describes configuring [Ingress NGINX](#ingress-nginx) as well as [NGINX Gateway
|
|||||||
> `athens-proxy-ca` is present in the same namespace of the helm deployment.
|
> `athens-proxy-ca` is present in the same namespace of the helm deployment.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CHART_VERSION=1.4.1
|
CHART_VERSION=2.0.1
|
||||||
helm install --version "${CHART_VERSION}" athens-proxy volker.raschek/athens-proxy \
|
helm install --version "${CHART_VERSION}" athens-proxy volker.raschek/athens-proxy \
|
||||||
--set 'config.certificate.enabled=true' \
|
--set 'config.certificate.enabled=true' \
|
||||||
--set 'config.certificate.new.issuerRef.kind=Issuer' \
|
--set 'config.certificate.new.issuerRef.kind=Issuer' \
|
||||||
|
|||||||
Generated
+1
@@ -1917,6 +1917,7 @@
|
|||||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
|
|||||||
+18
-21
@@ -4,6 +4,7 @@
|
|||||||
"local>volker.raschek/renovate-config:default#master",
|
"local>volker.raschek/renovate-config:default#master",
|
||||||
"local>volker.raschek/renovate-config:container#master",
|
"local>volker.raschek/renovate-config:container#master",
|
||||||
"local>volker.raschek/renovate-config:actions#master",
|
"local>volker.raschek/renovate-config:actions#master",
|
||||||
|
"local>volker.raschek/renovate-config:helm#master",
|
||||||
"local>volker.raschek/renovate-config:npm#master",
|
"local>volker.raschek/renovate-config:npm#master",
|
||||||
"local>volker.raschek/renovate-config:regexp#master"
|
"local>volker.raschek/renovate-config:regexp#master"
|
||||||
],
|
],
|
||||||
@@ -14,7 +15,7 @@
|
|||||||
"^Chart\\.yaml$"
|
"^Chart\\.yaml$"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"appVersion: \"(?<currentValue>.*?)\"\\s+"
|
"^appVersion: \"?(?<currentValue>.*)\"?"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "docker",
|
"datasourceTemplate": "docker",
|
||||||
"depNameTemplate": "gomods/athens",
|
"depNameTemplate": "gomods/athens",
|
||||||
@@ -23,34 +24,19 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"fileMatch": ["^README\\.md$"],
|
"fileMatch": [
|
||||||
|
"^README\\.md$"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"VERSION=(?<currentValue>.*)"
|
"CHART_VERSION=(?<currentValue>.*)"
|
||||||
],
|
],
|
||||||
"depNameTemplate": "volker.raschek/athens-proxy-charts",
|
"depNameTemplate": "volker.raschek/athens-proxy-charts",
|
||||||
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/athens-proxy-charts",
|
"packageNameTemplate": "https://git.cryptic.systems/volker.raschek/athens-proxy-charts",
|
||||||
"datasourceTemplate": "git-tags",
|
"datasourceTemplate": "git-tags",
|
||||||
"versioningTemplate": "semver"
|
"versioningTemplate": "semver"
|
||||||
},
|
|
||||||
{
|
|
||||||
"customType": "regex",
|
|
||||||
"datasourceTemplate": "github-releases",
|
|
||||||
"fileMatch": [
|
|
||||||
".vscode/settings\\.json$"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^\\s]+?)\\/(?<currentValue>v[0-9.]+?)\\/schema\\/helm-testsuite\\.json"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
|
||||||
"groupName": "Update docker.io/volkerraschek/helm",
|
|
||||||
"matchDepNames": [
|
|
||||||
"docker.io/volkerraschek/helm",
|
|
||||||
"volkerraschek/helm"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"groupName": "Update docker.io/library/node",
|
"groupName": "Update docker.io/library/node",
|
||||||
"matchDepNames": [
|
"matchDepNames": [
|
||||||
@@ -90,5 +76,16 @@
|
|||||||
"patch"
|
"patch"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"postUpgradeTasks": {
|
||||||
|
"commands": [
|
||||||
|
"install-tool node",
|
||||||
|
"make readme"
|
||||||
|
],
|
||||||
|
"fileFilters": [
|
||||||
|
"README.md",
|
||||||
|
"values.yaml"
|
||||||
|
],
|
||||||
|
"executionMode": "update"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-2
@@ -615,6 +615,7 @@ hpa:
|
|||||||
# target:
|
# target:
|
||||||
# averageUtilization: 65
|
# averageUtilization: 65
|
||||||
# type: Utilization
|
# type: Utilization
|
||||||
|
# type: Resource
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
maxReplicas: 10
|
maxReplicas: 10
|
||||||
|
|
||||||
@@ -700,7 +701,13 @@ networkPolicy:
|
|||||||
# - port: 22
|
# - port: 22
|
||||||
# protocol: TCP
|
# protocol: TCP
|
||||||
|
|
||||||
# Allow outgoing HTTPS traffic to external go module servers
|
# Allow outgoing traffic to HTTP severs
|
||||||
|
#
|
||||||
|
# - ports:
|
||||||
|
# - port: 80
|
||||||
|
# protocol: TCP
|
||||||
|
|
||||||
|
# Allow outgoing traffic to HTTPS severs
|
||||||
#
|
#
|
||||||
# - ports:
|
# - ports:
|
||||||
# - port: 443
|
# - port: 443
|
||||||
@@ -735,7 +742,7 @@ networkPolicy:
|
|||||||
# - port: http
|
# - port: http
|
||||||
# protocol: TCP
|
# protocol: TCP
|
||||||
|
|
||||||
# Allow incoming HTTP traffic from ingress-nginx.
|
# Allow incoming HTTP traffic from ingress-nginx or gateway-api.
|
||||||
#
|
#
|
||||||
# - from:
|
# - from:
|
||||||
# - namespaceSelector:
|
# - namespaceSelector:
|
||||||
@@ -748,6 +755,17 @@ networkPolicy:
|
|||||||
# - port: http
|
# - port: http
|
||||||
# protocol: TCP
|
# protocol: TCP
|
||||||
|
|
||||||
|
# - from:
|
||||||
|
# - namespaceSelector:
|
||||||
|
# matchLabels:
|
||||||
|
# kubernetes.io/metadata.name: gateway-api
|
||||||
|
# podSelector:
|
||||||
|
# matchLabels:
|
||||||
|
# gateway.networking.k8s.io/gateway-name: nginx
|
||||||
|
# ports:
|
||||||
|
# - port: http
|
||||||
|
# protocol: TCP
|
||||||
|
|
||||||
## @section Service
|
## @section Service
|
||||||
## @param service.enabled Enable the service.
|
## @param service.enabled Enable the service.
|
||||||
## @param service.annotations Additional service annotations.
|
## @param service.annotations Additional service annotations.
|
||||||
|
|||||||
Reference in New Issue
Block a user