mysql: First working kustomize

This commit is contained in:
Florian RICHER 2025-03-27 11:26:11 +01:00
parent fa945f2e5c
commit 244458738c
10 changed files with 125 additions and 2 deletions

View file

@ -0,0 +1,34 @@
resources:
- ../../base
- phpmyadmin_ingress.yaml
namespace: default
labels:
- includeSelectors: true
pairs:
app: mysql
commonAnnotations:
owner: florian
namePrefix: mysql-
images:
- name: mysql
newName: mysql
newTag: "9"
- name: phpmyadmin
newName: phpmyadmin
newTag: "5.2"
patches:
- path: replica.yaml
configMapGenerator:
- name: mysql-configmap
env: mysql-configmap.properties
secretGenerator:
- name: mysql-secret
env: mysql-secret.properties