Skip to content

Commit

Permalink
added mysql dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Dec 18, 2023
1 parent e4bf352 commit 064674b
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 0 deletions.
23 changes: 23 additions & 0 deletions argo/cluster/databases/mysql-dev/chart/.helmignore
Original file line number Diff line number Diff line change
@@ -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/
6 changes: 6 additions & 0 deletions argo/cluster/databases/mysql-dev/chart/Chart.lock
Original file line number Diff line number Diff line change
@@ -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"
29 changes: 29 additions & 0 deletions argo/cluster/databases/mysql-dev/chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions argo/cluster/databases/mysql-dev/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions argo/cluster/databases/mysql-dev/mysql-dev.app.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 064674b

Please sign in to comment.