diff --git a/argo/cluster/databases/mysql-dev/chart/.helmignore b/argo/cluster/databases/mysql-dev/chart/.helmignore new file mode 100644 index 000000000..0e8a0eb36 --- /dev/null +++ b/argo/cluster/databases/mysql-dev/chart/.helmignore @@ -0,0 +1,23 @@ +# 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/argo/cluster/databases/mysql-dev/chart/Chart.lock b/argo/cluster/databases/mysql-dev/chart/Chart.lock new file mode 100644 index 000000000..f3055bbca --- /dev/null +++ b/argo/cluster/databases/mysql-dev/chart/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: generic + repository: oci://ghcr.io/henrywhitaker3 + version: v1.3.2 +digest: sha256:3c09cc22ba9dc8fdf87a699c47f0c5dac0aee6ad81cba90de77948f909a51b10 +generated: "2023-11-24T12:03:54.631351404Z" diff --git a/argo/cluster/databases/mysql-dev/chart/Chart.yaml b/argo/cluster/databases/mysql-dev/chart/Chart.yaml new file mode 100644 index 000000000..b56c9a68b --- /dev/null +++ b/argo/cluster/databases/mysql-dev/chart/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +name: redis +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" + +dependencies: + - name: generic + version: "v1.3.2" + repository: oci://ghcr.io/henrywhitaker3 diff --git a/argo/cluster/databases/mysql-dev/chart/values.yaml b/argo/cluster/databases/mysql-dev/chart/values.yaml new file mode 100644 index 000000000..779fdc840 --- /dev/null +++ b/argo/cluster/databases/mysql-dev/chart/values.yaml @@ -0,0 +1,33 @@ +generic: + nameOverride: mysql-dev + fullnameOverride: mysql-dev + + replicaCount: 1 + + image: + repository: mariadb + pullPolicy: Always + tag: latest + + service: + portName: mysql + port: 3306 + + ingress: + enabled: false + + pvc: + enabled: true + mountPath: /var/lib/mysql + storageClassName: longhorn + size: 256M + accessModes: + - ReadWriteMany + + config: + MYSQL_ALLOW_EMPTY_PASSWORD: "true" + + probes: + type: tcpSocket + options: + port: mysql diff --git a/argo/cluster/databases/mysql-dev/mysql-dev.app.yaml b/argo/cluster/databases/mysql-dev/mysql-dev.app.yaml new file mode 100644 index 000000000..66b68a9a3 --- /dev/null +++ b/argo/cluster/databases/mysql-dev/mysql-dev.app.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: mysql-dev + namespace: argo + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: databases + server: https://kubernetes.default.svc + project: apps + source: + path: argo/cluster/databases/redis/chart + repoURL: https://gitlab.com/henrywhitaker3/homelab.git + targetRevision: HEAD + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true