You've already forked athens-proxy-charts
Compare commits
26 Commits
3f7476afc6
...
1.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
28c1e37e13
|
|||
|
757469762b
|
|||
| f1a47dc0a5 | |||
| d86bf91491 | |||
| de615c2ff5 | |||
| 34839d0e4d | |||
|
80d3b9972b
|
|||
|
080965d513
|
|||
|
07700a2952
|
|||
|
0113b21af9
|
|||
|
74b45790bf
|
|||
| 69ac64d858 | |||
|
38b5dbf355
|
|||
| a164371601 | |||
|
f5a6fe056e
|
|||
| 3e8d15cf51 | |||
| df1043b80d | |||
|
20910d2d0f
|
|||
|
ec201021b2
|
|||
| 3f82552882 | |||
|
c4196dc2f2
|
|||
| d364d1a2b6 | |||
|
4ca2d29172
|
|||
| c8e234ff24 | |||
|
cedb98c64c
|
|||
|
51facd6e1c
|
@@ -15,15 +15,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
generate-parameters:
|
generate-parameters:
|
||||||
container:
|
container:
|
||||||
image: docker.io/library/node:25.0.0-alpine
|
image: docker.io/library/node:25.2.1-alpine
|
||||||
runs-on:
|
runs-on: ubuntu-latest
|
||||||
- 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@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- name: Generate parameter section in README
|
- name: Generate parameter section in README
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|||||||
@@ -12,31 +12,26 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
helm-lint:
|
helm-lint:
|
||||||
container:
|
runs-on: ubuntu-latest
|
||||||
image: docker.io/volkerraschek/helm:3.19.0
|
|
||||||
runs-on:
|
|
||||||
- ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- uses: actions/checkout@v5.0.1
|
||||||
run: |
|
- uses: azure/setup-helm@v4.3.1
|
||||||
apk update
|
with:
|
||||||
apk add git npm
|
version: v4.0.1 # renovate: datasource=github-releases depName=helm/helm
|
||||||
- uses: actions/checkout@v5.0.0
|
|
||||||
- name: Lint helm files
|
- name: Lint helm files
|
||||||
run: |
|
run: |
|
||||||
helm lint --values values.yaml .
|
helm lint --values values.yaml .
|
||||||
|
|
||||||
helm-unittest:
|
helm-unittest:
|
||||||
container:
|
runs-on: ubuntu-latest
|
||||||
image: docker.io/volkerraschek/helm:3.19.0
|
|
||||||
runs-on:
|
|
||||||
- ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install tooling
|
- uses: actions/checkout@v5.0.1
|
||||||
run: |
|
- uses: azure/setup-helm@v4.3.1
|
||||||
apk update
|
with:
|
||||||
apk add git npm
|
version: v4.0.1 # renovate: datasource=github-releases depName=helm/helm
|
||||||
- uses: actions/checkout@v5.0.0
|
- env:
|
||||||
- name: Unittest
|
HELM_UNITTEST_VERSION: v1.0.0 #renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
||||||
run: |
|
name: Install helm-unittest
|
||||||
helm unittest --strict --file 'unittests/**/*.yaml' ./
|
run: helm plugin install --verify=false --version "${HELM_UNITTEST_VERSION}" https://github.com/helm-unittest/helm-unittest
|
||||||
|
- name: Execute helm unittests
|
||||||
|
run: helm unittest --strict --file 'unittests/**/*.yaml' .
|
||||||
|
|||||||
@@ -15,15 +15,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
markdown-link-checker:
|
markdown-link-checker:
|
||||||
container:
|
container:
|
||||||
image: docker.io/library/node:25.0.0-alpine
|
image: docker.io/library/node:25.2.1-alpine
|
||||||
runs-on:
|
runs-on: ubuntu-latest
|
||||||
- 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@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- name: Verify links in markdown files
|
- name: Verify links in markdown files
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
@@ -31,15 +30,14 @@ jobs:
|
|||||||
|
|
||||||
markdown-lint:
|
markdown-lint:
|
||||||
container:
|
container:
|
||||||
image: docker.io/library/node:25.0.0-alpine
|
image: docker.io/library/node:25.2.1-alpine
|
||||||
runs-on:
|
runs-on: ubuntu-latest
|
||||||
- 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@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
- name: Lint markdown files
|
- name: Lint markdown files
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
publish-chart:
|
publish-chart:
|
||||||
container:
|
container:
|
||||||
image: docker.io/volkerraschek/helm:3.19.0
|
image: docker.io/volkerraschek/helm:3.19.2
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install packages via apk
|
- name: Install packages via apk
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
apk update
|
apk update
|
||||||
apk add git npm jq yq
|
apk add git npm jq yq
|
||||||
|
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.1
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -10,7 +10,7 @@ HELM_IMAGE_FULLY_QUALIFIED=${HELM_IMAGE_REGISTRY_HOST}/${HELM_IMAGE_REPOSITORY}:
|
|||||||
# 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
|
||||||
NODE_IMAGE_VERSION?=25.0.0-alpine # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/library/node packageName=library/node
|
NODE_IMAGE_VERSION?=25.2.1-alpine # renovate: datasource=docker registryUrl=https://docker.io depName=docker.io/library/node packageName=library/node
|
||||||
NODE_IMAGE_FULLY_QUALIFIED=${NODE_IMAGE_REGISTRY_HOST}/${NODE_IMAGE_REPOSITORY}:${NODE_IMAGE_VERSION}
|
NODE_IMAGE_FULLY_QUALIFIED=${NODE_IMAGE_REGISTRY_HOST}/${NODE_IMAGE_REPOSITORY}:${NODE_IMAGE_VERSION}
|
||||||
|
|
||||||
# MISSING DOT
|
# MISSING DOT
|
||||||
|
|||||||
24
README.md
24
README.md
@@ -1,4 +1,4 @@
|
|||||||
# athens-proxy-charts
|
# Athens - A Go module datastore and proxy
|
||||||
|
|
||||||
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
[](https://artifacthub.io/packages/search?repo=volker-raschek)
|
||||||
|
|
||||||
@@ -120,18 +120,13 @@ before expiring.
|
|||||||
|
|
||||||
Until the exporter does not support rotating TLS certificate a workaround can be applied. For example stakater's
|
Until the exporter does not support rotating TLS certificate a workaround can be applied. For example stakater's
|
||||||
[reloader](https://github.com/stakater/Reloader) controller can be used to trigger a rolling update. The following
|
[reloader](https://github.com/stakater/Reloader) controller can be used to trigger a rolling update. The following
|
||||||
annotation must be added to instruct the reloader controller to trigger a rolling update, when the mounted configMaps
|
annotation must be added to instruct the reloader controller to trigger a rolling update, when the mounted secret has
|
||||||
and secrets have been changed.
|
been changed.
|
||||||
|
|
||||||
```yaml
|
> [!IMPORTANT]
|
||||||
deployment:
|
> The Helm chart already adds annotations to trigger a rolling release. Helm describes this approach under
|
||||||
annotations:
|
> [Automatically Roll Deployments](https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments).
|
||||||
reloader.stakater.com/auto: "true"
|
> For this reason, **only external** configMaps or secrets need to be monitored by reloader.
|
||||||
```
|
|
||||||
|
|
||||||
Instead of triggering a rolling update for configMap and secret resources, this action can also be defined for
|
|
||||||
individual items. For example, when the secret named `athens-proxy-tls` is mounted and the reloader controller should
|
|
||||||
only listen for changes of this secret:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
deployment:
|
deployment:
|
||||||
@@ -149,8 +144,8 @@ stakater's reloader.
|
|||||||
```diff
|
```diff
|
||||||
deployment:
|
deployment:
|
||||||
annotations:
|
annotations:
|
||||||
reloader.stakater.com/auto: "true"
|
|
||||||
+ reloader.stakater.com/rollout-strategy: "restart"
|
+ reloader.stakater.com/rollout-strategy: "restart"
|
||||||
|
secret.reloader.stakater.com/reload: "athens-proxy-tls"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Network policies
|
#### Network policies
|
||||||
@@ -188,6 +183,9 @@ networkPolicies:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
- port: 53
|
- port: 53
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
|
- ports:
|
||||||
|
- port: 22
|
||||||
|
protocol: TCP
|
||||||
- ports:
|
- ports:
|
||||||
- port: 443
|
- port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|||||||
749
package-lock.json
generated
749
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -16,6 +16,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bitnami/readme-generator-for-helm": "^2.5.0",
|
"@bitnami/readme-generator-for-helm": "^2.5.0",
|
||||||
"markdown-link-check": "^3.13.6",
|
"markdown-link-check": "^3.13.6",
|
||||||
"markdownlint-cli": "^0.45.0"
|
"markdownlint-cli": "^0.46.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
{{- define "athens-proxy.pod.annotations" }}
|
{{- define "athens-proxy.pod.annotations" }}
|
||||||
{{- include "athens-proxy.annotations" . }}
|
{{- include "athens-proxy.annotations" . }}
|
||||||
|
{{- if and .Values.certificate.enabled (not .Values.certificate.existingSecret.enabled) }}
|
||||||
|
{{- $secretName := include "athens-proxy.certificates.server.name" $ }}
|
||||||
|
{{ printf "checksum/secret-%s: %s" $secretName (print (lookup "v1" "Secret" .Release.Namespace $secretName) | sha256sum) }}
|
||||||
|
{{- end }}
|
||||||
{{- if and .Values.config.env.enabled (not .Values.config.env.existingSecret.enabled) }}
|
{{- if and .Values.config.env.enabled (not .Values.config.env.existingSecret.enabled) }}
|
||||||
{{ printf "checksum/secret-%s: %s" (include "athens-proxy.secrets.env.name" $) (include (print $.Template.BasePath "/secretEnv.yaml") . | sha256sum) }}
|
{{ printf "checksum/secret-%s: %s" (include "athens-proxy.secrets.env.name" $) (include (print $.Template.BasePath "/secretEnv.yaml") . | sha256sum) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -21,8 +25,6 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{/* labels */}}
|
{{/* labels */}}
|
||||||
|
|
||||||
{{- define "athens-proxy.pod.labels" -}}
|
{{- define "athens-proxy.pod.labels" -}}
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ tests:
|
|||||||
certificate.new.issuerRef.kind: ClusterIssuer
|
certificate.new.issuerRef.kind: ClusterIssuer
|
||||||
certificate.new.issuerRef.name: MyIssuer
|
certificate.new.issuerRef.name: MyIssuer
|
||||||
asserts:
|
asserts:
|
||||||
|
- exists:
|
||||||
|
path: spec.template.metadata.annotations["checksum/secret-athens-proxy-unittest-tls"]
|
||||||
|
template: templates/deployment.yaml
|
||||||
- contains:
|
- contains:
|
||||||
path: spec.template.spec.containers[0].env
|
path: spec.template.spec.containers[0].env
|
||||||
content:
|
content:
|
||||||
|
|||||||
@@ -590,6 +590,12 @@ networkPolicy:
|
|||||||
# - Egress
|
# - Egress
|
||||||
# - Ingress
|
# - Ingress
|
||||||
egress: []
|
egress: []
|
||||||
|
# Allow outgoing SSH traffic to Source Code Control System's (SCCS') like GitHub or GitLab.
|
||||||
|
#
|
||||||
|
# - ports:
|
||||||
|
# - port: 22
|
||||||
|
# protocol: TCP
|
||||||
|
|
||||||
# Allow outgoing HTTPS traffic to external go module servers
|
# Allow outgoing HTTPS traffic to external go module servers
|
||||||
#
|
#
|
||||||
# - ports:
|
# - ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user