diff --git a/.github/workflows/publish-music-assistant-skill.yml b/.github/workflows/publish-music-assistant-skill.yml deleted file mode 100644 index 793be7f..0000000 --- a/.github/workflows/publish-music-assistant-skill.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Publish Music-Assistant Skill Helm Chart -on: - workflow_dispatch: - push: - branches: - - main - paths: - - music-assistant-skill/** -jobs: - publish-music-assistant-skill: - name: Publish Music-Assistant Skill Helm Chart - uses: ./.github/workflows/publish-helm-chart.yml - with: - chart-name: 'music-assistant-skill' - secrets: inherit \ No newline at end of file diff --git a/README.md b/README.md index 1081bc1..f22c352 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ Collection of some self-made helm-charts. Each top-level directory is a standalo | `gotenberg` | Gotenberg | Deployment + Service only (no ingress) | | `homeassistant` | Home Assistant | StatefulSet, has `NOTES.txt` and Helm tests | | `matrix-synapse` | Matrix Synapse | StatefulSet plus an nginx delegation Deployment/Service | -| `music-assistant-skill` | Music Assistant Alexa Skill | Uses `_helpers.tpl` (unlike the other charts) | | `outline` | Outline | StatefulSet, separate DB/Redis secrets | | `paperless-ngx` | Paperless-ngx | Largest chart: consume CronJob, SMB-connector PV/PVC, pre/post-consumption scripts ConfigMap | | `patchmon` | PatchMon | Two Deployments (frontend + backend), OIDC secret | diff --git a/music-assistant-skill/.helmignore b/music-assistant-skill/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/music-assistant-skill/.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/music-assistant-skill/Chart.yaml b/music-assistant-skill/Chart.yaml deleted file mode 100644 index 1d71db6..0000000 --- a/music-assistant-skill/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: music-assistant-skill -description: Music Assistant Alexa Skill -type: application -version: 1.0.0+up0.0.36.beta -appVersion: "0.0.36-beta" \ No newline at end of file diff --git a/music-assistant-skill/templates/_helpers.tpl b/music-assistant-skill/templates/_helpers.tpl deleted file mode 100644 index 01d95ee..0000000 --- a/music-assistant-skill/templates/_helpers.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{- define "music-assistant-skill.name" -}} -music-assistant-skill -{{- end }} - -{{- define "music-assistant-skill.fullname" -}} -{{ .Release.Name }}-music-assistant-skill -{{- end }} \ No newline at end of file diff --git a/music-assistant-skill/templates/deployment.yaml b/music-assistant-skill/templates/deployment.yaml deleted file mode 100644 index 4022424..0000000 --- a/music-assistant-skill/templates/deployment.yaml +++ /dev/null @@ -1,43 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "music-assistant-skill.fullname" . }} -spec: - replicas: {{ .Values.replicaCount }} - selector: - matchLabels: - app: {{ include "music-assistant-skill.name" . }} - template: - metadata: - labels: - app: {{ include "music-assistant-skill.name" . }} - spec: - containers: - - name: music-assistant-skill - image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}" - imagePullPolicy: {{ .Values.image.pullPolicy }} - ports: - - containerPort: {{ .Values.env.PORT }} - - containerPort: {{ .Values.env.DEBUG_PORT }} - env: - {{- range $key, $value := .Values.env }} - - name: {{ $key }} - value: "{{ $value }}" - {{- end }} - - name: APP_USERNAME - valueFrom: - secretKeyRef: - name: {{ include "music-assistant-skill.fullname" . }} - key: APP_USERNAME - - name: APP_PASSWORD - valueFrom: - secretKeyRef: - name: {{ include "music-assistant-skill.fullname" . }} - key: APP_PASSWORD - volumeMounts: - - name: ask-data - mountPath: /root/.ask - volumes: - - name: ask-data - persistentVolumeClaim: - claimName: {{ include "music-assistant-skill.fullname" . }}-pvc \ No newline at end of file diff --git a/music-assistant-skill/templates/ingress.yaml b/music-assistant-skill/templates/ingress.yaml deleted file mode 100644 index e646daa..0000000 --- a/music-assistant-skill/templates/ingress.yaml +++ /dev/null @@ -1,35 +0,0 @@ -{{- if .Values.ingress.enabled }} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ include "music-assistant-skill.fullname" . }} - annotations: - {{- range $key, $value := .Values.ingress.annotations }} - {{ $key }}: {{ $value | quote }} - {{- end }} -spec: - ingressClassName: {{ .Values.ingress.className }} - {{- if .Values.ingress.tls.enabled }} - tls: - - hosts: - {{- range .Values.ingress.hosts }} - - {{ .host }} - {{- end }} - secretName: {{ .Values.ingress.tls.secretName }} - {{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ .host }} - http: - paths: - {{- range .paths }} - - path: {{ .path }} - pathType: {{ .pathType }} - backend: - service: - name: {{ include "music-assistant-skill.fullname" $ }} - port: - number: {{ $.Values.service.port }} - {{- end }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/music-assistant-skill/templates/pvc.yaml b/music-assistant-skill/templates/pvc.yaml deleted file mode 100644 index 3bec1f4..0000000 --- a/music-assistant-skill/templates/pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.persistence.enabled }} -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: {{ include "music-assistant-skill.fullname" . }}-pvc -spec: - accessModes: - - {{ .Values.persistence.accessMode }} - resources: - requests: - storage: {{ .Values.persistence.size }} -{{- end }} \ No newline at end of file diff --git a/music-assistant-skill/templates/secret.yaml b/music-assistant-skill/templates/secret.yaml deleted file mode 100644 index 6952070..0000000 --- a/music-assistant-skill/templates/secret.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: onepassword.com/v1 -kind: OnePasswordItem -metadata: - name: {{ include "music-assistant-skill.fullname" . }} -spec: - itemPath: {{ .Values.secrets.OnePw }} \ No newline at end of file diff --git a/music-assistant-skill/templates/service.yaml b/music-assistant-skill/templates/service.yaml deleted file mode 100644 index 34703d2..0000000 --- a/music-assistant-skill/templates/service.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "music-assistant-skill.fullname" . }} -spec: - type: {{ .Values.service.type }} - selector: - app: {{ include "music-assistant-skill.name" . }} - ports: - - name: http - port: {{ .Values.service.port }} - targetPort: {{ .Values.env.PORT }} - - name: debug - port: {{ .Values.service.debugPort }} - targetPort: {{ .Values.env.DEBUG_PORT }} \ No newline at end of file diff --git a/music-assistant-skill/values.yaml b/music-assistant-skill/values.yaml deleted file mode 100644 index 3571daf..0000000 --- a/music-assistant-skill/values.yaml +++ /dev/null @@ -1,44 +0,0 @@ -image: - repository: ghcr.io/alams154/music-assistant-skill - tag: latest - pullPolicy: IfNotPresent - -replicaCount: 1 - -env: - SKILL_HOSTNAME: skill.example.com - MA_HOSTNAME: "" - PORT: 5000 - DEBUG_PORT: 5678 - LOCALE: en-US - AWS_DEFAULT_REGION: us-east-1 - TZ: America/Chicago - -secrets: - OnePw: null - -service: - type: ClusterIP - port: 5000 - debugPort: 5678 - -persistence: - enabled: true - size: 1Gi - accessMode: ReadWriteOnce - -ingress: - enabled: true - className: nginx - annotations: - nginx.ingress.kubernetes.io/ssl-redirect: "true" - nginx.ingress.kubernetes.io/proxy-body-size: "10m" - cert-manager.io/cluster-issuer: letsencrypt-prod - hosts: - - host: skill.example.com - paths: - - path: / - pathType: Prefix - tls: - enabled: true - secretName: music-assistant-tls \ No newline at end of file