Compare commits

..

11 commits

Author SHA1 Message Date
ea295c539c
Merge pull request 'remove-hibernating-charts' (#121) from remove-hibernating-charts into main
All checks were successful
Release Charts / Get Charts being Changed (push) Successful in 6s
Release Charts / Publish Helm Chart (push) Successful in 7s
Reviewed-on: #121
2024-11-14 18:37:30 +00:00
7768df54fa
chore: remove clutch since it was never put to use
Some checks failed
Validate Charts / Get Charts being Changed (pull_request) Successful in 6s
Validate Charts / Audit (pull_request) Failing after 6s
Validate Charts / Lint (pull_request) Failing after 8s
Validate Charts / Outdated APIs (pull_request) Failing after 7s
2024-11-14 19:35:45 +01:00
9c471209dd
chore(dispatch): annotate image version for renovate
Some checks failed
Validate Charts / Get Charts being Changed (pull_request) Successful in 7s
Validate Charts / Lint (pull_request) Failing after 6s
Validate Charts / Audit (pull_request) Failing after 7s
Validate Charts / Outdated APIs (pull_request) Failing after 6s
2024-11-14 19:33:44 +01:00
f82340f479
chore: update release
Some checks failed
Validate Charts / Get Charts being Changed (pull_request) Successful in 7s
Validate Charts / Audit (pull_request) Failing after 6s
Validate Charts / Lint (pull_request) Failing after 7s
Validate Charts / Outdated APIs (pull_request) Failing after 7s
2024-11-14 19:14:10 +01:00
dc76c069f8
chore(repo): cleanup unused repos 2024-11-14 19:14:10 +01:00
85cc3d22da
chore(repo): cleanup unused repos and update release workflow 2024-11-14 19:14:10 +01:00
ce9f9cc232
chore: limit chart validation to branches 2024-11-14 19:13:22 +01:00
f6da53ba2b
Update charts/immich/values.yaml 2024-11-14 19:13:22 +01:00
5c6b01dced
Update .forgejo/workflows/release-charts.yaml 2024-11-14 19:13:22 +01:00
c14fa914f1
chore(dispatch): remove unused anchors
Some checks failed
Validate Charts / Get Charts being Changed (pull_request) Successful in 6s
Validate Charts / Lint (pull_request) Failing after 7s
Validate Charts / Audit (pull_request) Failing after 7s
Validate Charts / Outdated APIs (pull_request) Failing after 7s
2024-11-14 17:27:26 +01:00
828459af2d
chore: update release 2024-11-13 07:06:32 +01:00
15 changed files with 3 additions and 320 deletions

View file

@ -38,10 +38,6 @@ Below you'll find an overview of the charts and an intro to get you started.
🚧 [Attic](charts/attic): Nix Binary Cache server that reduces the time to compile and distribute builds ([intro post](https://discourse.nixos.org/t/introducing-attic-a-self-hostable-nix-binary-cache-server/24343))
🚧 [paperless-ngx](charts/paperless-ngx): Document management system that transforms your physical documents into a searchable online archive.
🚧 [Vikunja](charts/vikunja): Todo app with web and dav support.
🚧 [Matrix Authentication Service](charts/matrix-authentication-service): Matrix auth system implementing MSC3861
🚧 [Maubot](charts/maubot): Matrix bot system.

View file

@ -1,23 +0,0 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View file

@ -1,19 +0,0 @@
apiVersion: v2
name: clutch
description: Extensible platform for infrastructure management
type: application
version: 0.1.0
appVersion: "latest"
maintainers:
- name: Tommy Skaug
email: tommy@skaug.me
keywords:
- clutch
- developer
- portal
- tracking
- index
- infrastructure
- platform
sources:
- https://github.com/lyft/clutch

View file

@ -1,51 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "clutch.name" -}}
{{- .Values.nameOverride | default .Chart.Name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "clutch.fullname" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{/*
Get the correct image tag name
*/}}
{{- define "clutch.imageTag" -}}
{{- .Values.image.tag | default (printf "v%s" .Chart.AppVersion) -}}
{{- end -}}
# Define a template for standard labels.
{{/*
Common labels
*/}}
{{- define "clutch.labels" -}}
helm.sh/chart: {{ include "clutch.chart" . }}
app.kubernetes.io/name: {{ include "clutch.fullname" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.Version | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "clutch.selectorLabels" -}}
app.kubernetes.io/name: {{ include "clutch.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end -}}
# Define a template for the chart name and version.
{{/*
Generate basic labels
*/}}
{{- define "clutch.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" -}}
{{- end }}

View file

@ -1,8 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: clutch-frontend-config
data:
clutch.config.js: |
module.exports = {}

View file

@ -1,20 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "clutch.fullname" . }}-db-init
labels:
{{- include "clutch.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
spec:
template:
spec:
restartPolicy: Never
containers:
- name: general-db-init
image: "{{ .Values.initContainers.dbInit.image.repository }}:{{ .Values.initContainers.dbInit.image.tag }}"
envFrom:
- secretRef:
name: {{ .Values.initContainers.dbInit.existingSecretName }}
backoffLimit: 3

View file

@ -1,71 +0,0 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "clutch.fullname" . }}
labels:
{{- include "clutch.labels" . | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
{{- include "clutch.selectorLabels" . | nindent 6 }}
type: clutch
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "clutch.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
type: clutch
spec:
serviceAccount: {{ include "clutch.fullname" . }}
containers:
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["./clutch"]
args: ["-c", "/config/clutch-config.yaml"]
imagePullPolicy: Always
name: {{ include "clutch.fullname" . }}
ports:
- containerPort: 8080
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: clutch-config-backend
mountPath: /config
- name: clutch-config-frontend
mountPath: /frontend/src/clutch.config.js
subPath: clutch.config.js
env:
- name: BASE_URL
value: {{ .Values.config.baseUrl }}
volumes:
- name: clutch-config-backend
secret:
secretName: {{ .Values.existingSecretName }}
- name: clutch-config-frontend
configMap:
name: {{ include "clutch.fullname" . }}-frontend-config
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View file

@ -1,15 +0,0 @@
{{- if .Values.prometheus.podmonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "clutch.fullname" . }}
labels:
{{- include "clutch.labels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "clutch.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: metrics
path: "/healthcheck"
{{- end }}

View file

@ -1,6 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "clutch.fullname" . }}
labels:
{{- include "clutch.labels" . | nindent 4 }}

View file

@ -1,29 +0,0 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "clutch.fullname" . }}
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["list"]
- apiGroups: [""]
resources: ["pods", "pods/status"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["delete"]
- apiGroups: ["autoscaling"]
resources: ["horizontalpodautoscalers", "horizontalpodautoscalers/status"]
verbs: ["get", "list", "watch"]
- apiGroups: ["autoscaling"]
resources: ["horizontalpodautoscalers"]
verbs: ["patch", "update"]
- apiGroups: ["extensions", "apps"]
resources: ["deployments", "deployments/scale", "deployments/status"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions", "apps"]
resources: ["deployments/scale"]
verbs: ["patch", "update"]
- apiGroups: ["extensions", "apps"]
resources: ["deployments"]
verbs: ["update"]

View file

@ -1,12 +0,0 @@
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "clutch.fullname" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ include "clutch.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "clutch.fullname" . }}
namespace: {{ .Release.Namespace }}

View file

@ -1,21 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "clutch.fullname" . }}
labels:
{{- include "clutch.labels" . | nindent 4 }}
spec:
type: ClusterIP
ports:
- port: 80
protocol: TCP
targetPort: 8080
name: clutch2
- port: 8080
protocol: TCP
targetPort: 8080
name: clutch
selector:
selector:
{{- include "clutch.selectorLabels" . | nindent 4 }}
type: clutch

View file

@ -1,39 +0,0 @@
config:
baseUrl: https://infrastructure.252.no
image:
repository: index.docker.io/lyft/clutch
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
existingSecretName: clutch-config-secret
initContainers:
dbInit:
image:
repository: ghcr.io/onedr0p/postgres-init
tag: "16"
existingSecretName: clutch-dbinit-secret
prometheus:
podmonitor:
enabled: true
resources: {}
limits:
cpu: 500m
memory: 768Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
podLabels: {}
podAnnotations: {}

View file

@ -2,6 +2,7 @@ apiVersion: v2
name: dispatch
description: Netflix Dispatch incident management system
version: 0.5.5
# renovate: image=code.252.no/elk-works/dispatch
appVersion: v20240731
maintainers:
- name: Tommy Skaug

View file

@ -31,7 +31,7 @@ spec:
- -c
- |
dispatch database init || true
env: &dispatchEnv
env:
- name: MJML_PATH
value: /node_modules/.bin
- name: DISPATCH_UI_URL
@ -57,7 +57,7 @@ spec:
imagePullPolicy: {{ coalesce $.Values.image.pullPolicy .pullPolicy }}
{{- end }}
command: ["dispatch", "database", "upgrade"]
env: &dispatchEnv
env:
- name: MJML_PATH
value: /node_modules/.bin
- name: DISPATCH_UI_URL