diff --git a/README.md b/README.md index c00fd75..69e9776 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/charts/clutch/.helmignore b/charts/clutch/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/charts/clutch/.helmignore +++ /dev/null @@ -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/ diff --git a/charts/clutch/Chart.yaml b/charts/clutch/Chart.yaml deleted file mode 100644 index 0613202..0000000 --- a/charts/clutch/Chart.yaml +++ /dev/null @@ -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 diff --git a/charts/clutch/templates/_helpers.tpl b/charts/clutch/templates/_helpers.tpl deleted file mode 100644 index 56f9c4e..0000000 --- a/charts/clutch/templates/_helpers.tpl +++ /dev/null @@ -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 }} diff --git a/charts/clutch/templates/configmap.yaml b/charts/clutch/templates/configmap.yaml deleted file mode 100644 index 80ab127..0000000 --- a/charts/clutch/templates/configmap.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: clutch-frontend-config -data: - clutch.config.js: | - module.exports = {} - \ No newline at end of file diff --git a/charts/clutch/templates/db-init.yaml b/charts/clutch/templates/db-init.yaml deleted file mode 100644 index 93c074a..0000000 --- a/charts/clutch/templates/db-init.yaml +++ /dev/null @@ -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 diff --git a/charts/clutch/templates/deployment.yaml b/charts/clutch/templates/deployment.yaml deleted file mode 100644 index 1678d93..0000000 --- a/charts/clutch/templates/deployment.yaml +++ /dev/null @@ -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 }} \ No newline at end of file diff --git a/charts/clutch/templates/podmonitor.yaml b/charts/clutch/templates/podmonitor.yaml deleted file mode 100644 index de28348..0000000 --- a/charts/clutch/templates/podmonitor.yaml +++ /dev/null @@ -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 }} \ No newline at end of file diff --git a/charts/clutch/templates/sa-account.yaml b/charts/clutch/templates/sa-account.yaml deleted file mode 100644 index 5173de2..0000000 --- a/charts/clutch/templates/sa-account.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ include "clutch.fullname" . }} - labels: - {{- include "clutch.labels" . | nindent 4 }} diff --git a/charts/clutch/templates/sa-clusterrole.yaml b/charts/clutch/templates/sa-clusterrole.yaml deleted file mode 100644 index 8320066..0000000 --- a/charts/clutch/templates/sa-clusterrole.yaml +++ /dev/null @@ -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"] \ No newline at end of file diff --git a/charts/clutch/templates/sa-clusterrolebinding.yaml b/charts/clutch/templates/sa-clusterrolebinding.yaml deleted file mode 100644 index 62183ad..0000000 --- a/charts/clutch/templates/sa-clusterrolebinding.yaml +++ /dev/null @@ -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 }} \ No newline at end of file diff --git a/charts/clutch/templates/service.yaml b/charts/clutch/templates/service.yaml deleted file mode 100644 index 0cbe0a7..0000000 --- a/charts/clutch/templates/service.yaml +++ /dev/null @@ -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 diff --git a/charts/clutch/values.yaml b/charts/clutch/values.yaml deleted file mode 100644 index dae3a2d..0000000 --- a/charts/clutch/values.yaml +++ /dev/null @@ -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: {} diff --git a/charts/dispatch/Chart.yaml b/charts/dispatch/Chart.yaml index ffd6e96..e763403 100644 --- a/charts/dispatch/Chart.yaml +++ b/charts/dispatch/Chart.yaml @@ -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 diff --git a/charts/dispatch/templates/dispatch-db-init.yaml b/charts/dispatch/templates/dispatch-db-init.yaml index a13e811..1eb4494 100644 --- a/charts/dispatch/templates/dispatch-db-init.yaml +++ b/charts/dispatch/templates/dispatch-db-init.yaml @@ -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