镜像自地址
https://github.com/devcm-repo/helm-charts.git
已同步 2026-09-11 21:32:56 +00:00
比较提交
5
次代码提交
@@ -22,7 +22,20 @@ jobs:
|
|||||||
git config user.email "[email protected]"
|
git config user.email "[email protected]"
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
|
- name: Setup Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
with:
|
||||||
|
version: v4.1.4
|
||||||
|
|
||||||
|
- name: Package charts
|
||||||
|
run: |
|
||||||
|
mkdir -p .cr-release-packages
|
||||||
|
helm package --dependency-update charts/* --destination .cr-release-packages
|
||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.6.0
|
uses: helm/chart-releaser-action@3e001cb8c68933439c7e721650f20a07a1a5c61e # v1.7.0 skip_packaging fix
|
||||||
|
with:
|
||||||
|
skip_packaging: true
|
||||||
|
skip_existing: true
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://bjw-s-labs.github.io/helm-charts
|
||||||
|
version: 5.0.1
|
||||||
|
digest: sha256:99ecf11b32f1a7153194a31a68856534e02ed6c961d736780d28af920254e179
|
||||||
|
generated: "2026-07-15T14:53:26.335434+08:00"
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: website
|
||||||
|
description: Fillcode website Helm Chart
|
||||||
|
type: application
|
||||||
|
version: 0.0.3
|
||||||
|
appVersion: "0.0.3"
|
||||||
|
kubeVersion: ">=1.31.0-0"
|
||||||
|
home: https://fillcode.com
|
||||||
|
sources:
|
||||||
|
- https://git.dev.cm/fillcode.com/website
|
||||||
|
maintainers:
|
||||||
|
- name: dev.cm
|
||||||
|
email: [email protected]
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
version: 5.0.1
|
||||||
|
repository: https://bjw-s-labs.github.io/helm-charts
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
{{- include "bjw-s.common.loader.init" . }}
|
||||||
|
|
||||||
|
{{- define "website.hardcodedValues" -}}
|
||||||
|
{{ if not .Values.global.nameOverride }}
|
||||||
|
global:
|
||||||
|
nameOverride: "{{ .Release.Name }}"
|
||||||
|
{{ end }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $_ := mergeOverwrite .Values (include "website.hardcodedValues" . | fromYaml) -}}
|
||||||
|
|
||||||
|
{{ include "bjw-s.common.loader.generate" . }}
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
controllers:
|
||||||
|
main:
|
||||||
|
replicas: 1
|
||||||
|
strategy: RollingUpdate
|
||||||
|
containers:
|
||||||
|
main:
|
||||||
|
image:
|
||||||
|
repository: fillcode/website
|
||||||
|
tag: "{{ .Chart.AppVersion }}"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 3000
|
||||||
|
protocol: TCP
|
||||||
|
probes:
|
||||||
|
startup:
|
||||||
|
enabled: true
|
||||||
|
type: HTTP
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
liveness:
|
||||||
|
enabled: true
|
||||||
|
type: HTTP
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
readiness:
|
||||||
|
enabled: true
|
||||||
|
type: HTTP
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
resources: {}
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
|
||||||
|
defaultPodOptions:
|
||||||
|
annotations: {}
|
||||||
|
labels: {}
|
||||||
|
imagePullSecrets: []
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
securityContext:
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
|
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
controller: main
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 3000
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
enabled: false
|
||||||
|
className: nginx
|
||||||
|
hosts:
|
||||||
|
- host: fillcode.com
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
service:
|
||||||
|
identifier: main
|
||||||
|
port: http
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- fillcode.com
|
||||||
|
secretName: fillcode-com-crt
|
||||||
在新议题中引用
屏蔽一个用户