chore: Delete charts/penpot directory

Remove unfinished and unmaintained charts.
This commit is contained in:
Tommy Skaug 2024-04-03 11:59:46 +02:00 committed by GitHub
parent 2492f89d62
commit fbc6b2dbcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 0 additions and 351 deletions

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,17 +0,0 @@
name: penpot
maintainers:
- name: Tommy Skaug
email: tommy@skaug.me
apiVersion: v2
appVersion: 1.19.3
version: 2.0.5
description: Penpot is a design and prototyping platform for teams and individuals.
home: https://github.com/tommy-skaug/charts
icon: https://avatars.githubusercontent.com/u/30179644?s=200&v=4
keywords:
- kubernetes
- penpot
- design
sources:
- https://github.com/penpot/penpot
- https://penpot.app/

View file

@ -1,45 +0,0 @@
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "penpot.name" -}}
{{- default .Chart.Name .Values.nameOverride | 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).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "penpot.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "penpot.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Common labels.
*/}}
{{- define "penpot.labels" -}}
helm.sh/chart: {{ include "penpot.chart" . }}
app.kubernetes.io/name: {{ include "penpot.name" . }}-frontend
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end -}}

View file

@ -1,20 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "penpot.fullname" . }}-db-init
labels:
{{- include "penpot.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: penpot-db-init
image: "{{ .Values.postgres.dbInit.image.repository }}:{{ .Values.postgres.dbInit.image.tag }}"
envFrom:
- secretRef:
name: {{ .Values.postgres.secretName }}
backoffLimit: 3

View file

@ -1,58 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "penpot.fullname" . }}-backend
namespace: {{ .Release.Namespace }}
labels:
{{- include "penpot.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.backend.replicaCount }}
selector:
matchLabels:
app: {{ include "penpot.fullname" . }}-backend
template:
metadata:
labels:
app: {{ include "penpot.fullname" . }}-backend
spec:
serviceAccountName: penpot-sa
# securityContext:
# fsGroup: 1001
containers:
- name: {{ .Chart.Name }}-backend
image: "{{ .Values.image.repositoryBackend }}:{{ .Values.penpotVersion }}"
imagePullPolicy: IfNotPresent
# securityContext:
# runAsUser: 1001
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - all
# readOnlyRootFilesystem: false
# runAsNonRoot: true
volumeMounts:
- mountPath: /opt/data
name: app-data
readOnly: false
env:
- name: PENPOT_PUBLIC_URI
value: {{ .Values.publicURL | quote }}
- name: PENPOT_FLAGS
value: "$PENPOT_FLAGS {{ .Values.flags }}"
- name: PENPOT_TELEMETRY_ENABLED
value: "false"
- name: PENPOT_REGISTRATION_DOMAIN_WHITELIST
value: {{ .Values.registrationDomainWhitelist | quote }}
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}
ports:
- name: http
containerPort: 6060
protocol: TCP
resources:
{{- toYaml .Values.backend.resources | nindent 12 }}
volumes:
- name: app-data
emptyDir: {}

View file

@ -1,51 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "penpot.fullname" . }}-exporter
namespace: {{ .Release.Namespace }}
labels:
{{- include "penpot.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.exporter.replicaCount }}
selector:
matchLabels:
app: {{ include "penpot.fullname" . }}-exporter
template:
metadata:
labels:
app: {{ include "penpot.fullname" . }}-exporter
spec:
serviceAccountName: penpot-sa
# securityContext:
# fsGroup: 1001
containers:
- name: {{ .Chart.Name }}-exporter
image: "{{ .Values.image.repositoryExporter }}:{{ .Values.penpotVersion }}"
imagePullPolicy: IfNotPresent
# securityContext:
# runAsUser: 1001
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - all
# readOnlyRootFilesystem: false
# runAsNonRoot: true
env:
- name: PENPOT_PUBLIC_URI
value: {{ .Values.publicURL | quote }}
- name: PENPOT_FLAGS
value: "$PENPOT_FLAGS {{ .Values.flags }}"
- name: PENPOT_TELEMETRY_ENABLED
value: "false"
- name: PENPOT_REGISTRATION_DOMAIN_WHITELIST
value: {{ .Values.registrationDomainWhitelist | quote }}
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}
ports:
- name: http
containerPort: 6061
protocol: TCP
resources:
{{- toYaml .Values.frontend.resources | nindent 12 }}

View file

@ -1,51 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "penpot.fullname" . }}-frontend
namespace: {{ .Release.Namespace }}
labels:
{{- include "penpot.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.frontend.replicaCount }}
selector:
matchLabels:
app: {{ include "penpot.fullname" . }}-frontend
template:
metadata:
labels:
app: {{ include "penpot.fullname" . }}-frontend
spec:
serviceAccountName: penpot-sa
# securityContext:
# fsGroup: 1001
containers:
- name: {{ .Chart.Name }}-frontend
image: "{{ .Values.image.repositoryFrontend }}:{{ .Values.penpotVersion }}"
imagePullPolicy: IfNotPresent
# securityContext:
# runAsUser: 1001
# allowPrivilegeEscalation: false
# capabilities:
# drop:
# - all
# readOnlyRootFilesystem: false
# runAsNonRoot: true
env:
- name: PENPOT_PUBLIC_URI
value: {{ .Values.publicURL | quote }}
- name: PENPOT_FLAGS
value: "$PENPOT_FLAGS {{ .Values.flags }}"
- name: PENPOT_TELEMETRY_ENABLED
value: "false"
- name: PENPOT_REGISTRATION_DOMAIN_WHITELIST
value: {{ .Values.registrationDomainWhitelist | quote }}
envFrom:
- secretRef:
name: {{ .Values.envFromSecret }}
ports:
- name: http
containerPort: 80
protocol: TCP
resources:
{{- toYaml .Values.frontend.resources | nindent 12 }}

View file

@ -1,5 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: penpot-sa
namespace: {{ .Release.Namespace }}

View file

@ -1,38 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "penpot.fullname" . }}-frontend
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "penpot.fullname" . }}-exporter
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
ports:
- port: 6061
targetPort: http
protocol: TCP
name: http
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "penpot.fullname" . }}-backend
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
ports:
- port: 6060
targetPort: http
protocol: TCP
name: http

View file

@ -1,43 +0,0 @@
envFromSecret: penpot-secret
penpotVersion: 1.19.3
publicURL: "http://localhost:8080"
registrationDomainWhitelist: "localhost"
flags: "enable-registration enable-login enable-login-with-oidc disable-demo-users disable-demo-warning disable-secure-session-cookies"
serviceAccount:
name: "penpot-sa"
backend:
replicaCount: 1
resources:
limits: {}
requests: {}
frontend:
replicaCount: 1
resources:
limits: {}
requests: {}
exporter:
replicaCount: 1
resources:
limits: {}
requests: {}
image:
imagePullPolicy: IfNotPresent
repositoryBackend: penpotapp/backend
repositoryFrontend: penpotapp/frontend
repositoryExporter: penpotapp/exporter
postgres:
dbInit:
image:
repository: ghcr.io/onedr0p/postgres-init
tag: "16"
hostname: "postgres-rw.databases.svc.cluster.local"
database_name: "penpot"
port: "5432"
secretName: penpot-secret