2024-04-24 19:13:37 +02:00
|
|
|
---
|
|
|
|
# Source: wordpress-final/charts/mariadb/templates/networkpolicy.yaml
|
|
|
|
kind: NetworkPolicy
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: kk-mariadb
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
spec:
|
|
|
|
podSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
policyTypes:
|
|
|
|
- Ingress
|
|
|
|
- Egress
|
|
|
|
egress:
|
|
|
|
- {}
|
|
|
|
ingress:
|
|
|
|
- ports:
|
|
|
|
- port: 3306
|
|
|
|
- port: 3306
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/charts/mariadb/templates/serviceaccount.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: kk-mariadb
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
automountServiceAccountToken: false
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/templates/serviceaccount.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
automountServiceAccountToken: false
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/charts/mariadb/templates/secrets.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: kk-mariadb
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
type: Opaque
|
|
|
|
data:
|
|
|
|
mariadb-root-password: "V29yZHByZXMxMjMh"
|
|
|
|
mariadb-password: "V29yZHByZXMxMjMh"
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/templates/secrets.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
type: Opaque
|
|
|
|
data:
|
|
|
|
wordpress-password: "V29yZHByZXNzMTIzIQ=="
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/charts/mariadb/templates/primary/configmap.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: kk-mariadb
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
data:
|
|
|
|
my.cnf: |-
|
|
|
|
[mysqld]
|
|
|
|
skip-name-resolve
|
|
|
|
explicit_defaults_for_timestamp
|
|
|
|
basedir=/opt/bitnami/mariadb
|
|
|
|
datadir=/bitnami/mariadb/data
|
|
|
|
plugin_dir=/opt/bitnami/mariadb/plugin
|
|
|
|
port=3306
|
|
|
|
socket=/opt/bitnami/mariadb/tmp/mysql.sock
|
|
|
|
tmpdir=/opt/bitnami/mariadb/tmp
|
|
|
|
max_allowed_packet=16M
|
|
|
|
bind-address=*
|
|
|
|
pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid
|
|
|
|
log-error=/opt/bitnami/mariadb/logs/mysqld.log
|
|
|
|
character-set-server=UTF8
|
|
|
|
collation-server=utf8_general_ci
|
|
|
|
slow_query_log=0
|
|
|
|
long_query_time=10.0
|
|
|
|
|
|
|
|
[client]
|
|
|
|
port=3306
|
|
|
|
socket=/opt/bitnami/mariadb/tmp/mysql.sock
|
|
|
|
default-character-set=UTF8
|
|
|
|
plugin_dir=/opt/bitnami/mariadb/plugin
|
|
|
|
|
|
|
|
[manager]
|
|
|
|
port=3306
|
|
|
|
socket=/opt/bitnami/mariadb/tmp/mysql.sock
|
|
|
|
pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/templates/pvc.yaml
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
spec:
|
|
|
|
accessModes:
|
|
|
|
- "ReadWriteOnce"
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: "10Gi"
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/charts/mariadb/templates/primary/svc.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: kk-mariadb
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
annotations:
|
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
|
|
|
sessionAffinity: None
|
|
|
|
ports:
|
|
|
|
- name: mysql
|
|
|
|
port: 3306
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: mysql
|
|
|
|
nodePort: null
|
|
|
|
selector:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/templates/svc.yaml
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
spec:
|
2024-04-25 17:01:21 +02:00
|
|
|
type: ClusterIP
|
2024-04-24 19:13:37 +02:00
|
|
|
sessionAffinity: None
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
port: 80
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: http
|
2024-04-25 17:01:21 +02:00
|
|
|
nodePort: null
|
2024-04-24 19:13:37 +02:00
|
|
|
- name: https
|
|
|
|
port: 443
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: https
|
2024-04-25 17:01:21 +02:00
|
|
|
nodePort: null
|
2024-04-24 19:13:37 +02:00
|
|
|
selector:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/templates/deployment.yaml
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
strategy:
|
|
|
|
type: RollingUpdate
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
spec:
|
|
|
|
|
|
|
|
automountServiceAccountToken: false
|
|
|
|
# yamllint disable rule:indentation
|
|
|
|
hostAliases:
|
|
|
|
- hostnames:
|
|
|
|
- status.localhost
|
|
|
|
ip: 127.0.0.1
|
|
|
|
# yamllint enable rule:indentation
|
|
|
|
affinity:
|
|
|
|
podAffinity:
|
|
|
|
|
|
|
|
podAntiAffinity:
|
|
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- podAffinityTerm:
|
|
|
|
labelSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
weight: 1
|
|
|
|
nodeAffinity:
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
fsGroup: 1001
|
|
|
|
fsGroupChangePolicy: Always
|
|
|
|
supplementalGroups: []
|
|
|
|
sysctls: []
|
|
|
|
serviceAccountName: kk-wordpress-final
|
|
|
|
containers:
|
|
|
|
- name: wordpress
|
|
|
|
image: docker.io/bitnami/wordpress:6.4.3-debian-12-r20
|
|
|
|
imagePullPolicy: "IfNotPresent"
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
privileged: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 1001
|
|
|
|
seLinuxOptions: null
|
|
|
|
seccompProfile:
|
|
|
|
type: RuntimeDefault
|
|
|
|
env:
|
|
|
|
- name: BITNAMI_DEBUG
|
|
|
|
value: "false"
|
|
|
|
- name: ALLOW_EMPTY_PASSWORD
|
|
|
|
value: "yes"
|
|
|
|
- name: WORDPRESS_SKIP_BOOTSTRAP
|
|
|
|
value: "no"
|
|
|
|
- name: MARIADB_HOST
|
|
|
|
value: "kk-mariadb"
|
|
|
|
- name: MARIADB_PORT_NUMBER
|
|
|
|
value: "3306"
|
|
|
|
- name: WORDPRESS_DATABASE_NAME
|
|
|
|
value: "bitnami_wordpress"
|
|
|
|
- name: WORDPRESS_DATABASE_USER
|
|
|
|
value: "bn_wordpress"
|
|
|
|
- name: WORDPRESS_DATABASE_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: kk-mariadb
|
|
|
|
key: mariadb-password
|
|
|
|
- name: WORDPRESS_USERNAME
|
|
|
|
value: "wordpress"
|
|
|
|
- name: WORDPRESS_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
key: wordpress-password
|
|
|
|
- name: WORDPRESS_EMAIL
|
|
|
|
value: "user@example.com"
|
|
|
|
- name: WORDPRESS_FIRST_NAME
|
|
|
|
value: "FirstName"
|
|
|
|
- name: WORDPRESS_LAST_NAME
|
|
|
|
value: "LastName"
|
|
|
|
- name: WORDPRESS_HTACCESS_OVERRIDE_NONE
|
|
|
|
value: "no"
|
|
|
|
- name: WORDPRESS_ENABLE_HTACCESS_PERSISTENCE
|
|
|
|
value: "no"
|
|
|
|
- name: WORDPRESS_BLOG_NAME
|
|
|
|
value: "User's Blog!"
|
|
|
|
- name: WORDPRESS_TABLE_PREFIX
|
|
|
|
value: "wp_"
|
|
|
|
- name: WORDPRESS_SCHEME
|
|
|
|
value: "http"
|
|
|
|
- name: WORDPRESS_EXTRA_WP_CONFIG_CONTENT
|
|
|
|
value: ""
|
|
|
|
- name: WORDPRESS_PLUGINS
|
|
|
|
value: "none"
|
|
|
|
- name: WORDPRESS_OVERRIDE_DATABASE_SETTINGS
|
|
|
|
value: "no"
|
|
|
|
- name: APACHE_HTTP_PORT_NUMBER
|
|
|
|
value: "8080"
|
|
|
|
- name: APACHE_HTTPS_PORT_NUMBER
|
|
|
|
value: "8443"
|
|
|
|
envFrom:
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
containerPort: 8080
|
|
|
|
- name: https
|
|
|
|
containerPort: 8443
|
|
|
|
livenessProbe:
|
|
|
|
failureThreshold: 6
|
|
|
|
httpGet:
|
|
|
|
httpHeaders: []
|
|
|
|
path: /wp-admin/install.php
|
|
|
|
port: 'http'
|
|
|
|
scheme: 'HTTP'
|
|
|
|
initialDelaySeconds: 120
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
timeoutSeconds: 5
|
|
|
|
readinessProbe:
|
|
|
|
failureThreshold: 6
|
|
|
|
httpGet:
|
|
|
|
httpHeaders: []
|
|
|
|
path: /wp-login.php
|
|
|
|
port: 'http'
|
|
|
|
scheme: 'HTTP'
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
timeoutSeconds: 5
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /bitnami/wordpress
|
|
|
|
name: wordpress-data
|
|
|
|
subPath: wordpress
|
|
|
|
volumes:
|
|
|
|
- name: wordpress-data
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: kk-wordpress-final
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/charts/mariadb/templates/primary/statefulset.yaml
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
|
|
|
name: kk-mariadb
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
revisionHistoryLimit: 10
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
serviceName: kk-mariadb
|
|
|
|
updateStrategy:
|
|
|
|
type: RollingUpdate
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
checksum/configuration: e770d59116449161b84896dd37312bcccd9b8a27c657a9309bbafbe41e2a4d3a
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/version: 11.2.3
|
|
|
|
helm.sh/chart: mariadb-16.5.0
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
spec:
|
|
|
|
|
|
|
|
automountServiceAccountToken: false
|
|
|
|
serviceAccountName: kk-mariadb
|
|
|
|
affinity:
|
|
|
|
podAffinity:
|
|
|
|
|
|
|
|
podAntiAffinity:
|
|
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- podAffinityTerm:
|
|
|
|
labelSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
weight: 1
|
|
|
|
nodeAffinity:
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
fsGroup: 1001
|
|
|
|
fsGroupChangePolicy: Always
|
|
|
|
supplementalGroups: []
|
|
|
|
sysctls: []
|
|
|
|
containers:
|
|
|
|
- name: mariadb
|
|
|
|
image: docker.io/bitnami/mariadb:11.2.3-debian-12-r4
|
|
|
|
imagePullPolicy: "IfNotPresent"
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
privileged: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 1001
|
|
|
|
seccompProfile:
|
|
|
|
type: RuntimeDefault
|
|
|
|
env:
|
|
|
|
- name: BITNAMI_DEBUG
|
|
|
|
value: "false"
|
|
|
|
- name: MARIADB_ROOT_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: kk-mariadb
|
|
|
|
key: mariadb-root-password
|
|
|
|
- name: MARIADB_USER
|
|
|
|
value: "bn_wordpress"
|
|
|
|
- name: MARIADB_PASSWORD
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: kk-mariadb
|
|
|
|
key: mariadb-password
|
|
|
|
- name: MARIADB_DATABASE
|
|
|
|
value: "bitnami_wordpress"
|
|
|
|
ports:
|
|
|
|
- name: mysql
|
|
|
|
containerPort: 3306
|
|
|
|
livenessProbe:
|
|
|
|
failureThreshold: 3
|
|
|
|
initialDelaySeconds: 120
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
timeoutSeconds: 1
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
- -ec
|
|
|
|
- |
|
|
|
|
password_aux="${MARIADB_ROOT_PASSWORD:-}"
|
|
|
|
if [[ -f "${MARIADB_ROOT_PASSWORD_FILE:-}" ]]; then
|
|
|
|
password_aux=$(cat "$MARIADB_ROOT_PASSWORD_FILE")
|
|
|
|
fi
|
|
|
|
mysqladmin status -uroot -p"${password_aux}"
|
|
|
|
readinessProbe:
|
|
|
|
failureThreshold: 3
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
timeoutSeconds: 1
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- /bin/bash
|
|
|
|
- -ec
|
|
|
|
- |
|
|
|
|
password_aux="${MARIADB_ROOT_PASSWORD:-}"
|
|
|
|
if [[ -f "${MARIADB_ROOT_PASSWORD_FILE:-}" ]]; then
|
|
|
|
password_aux=$(cat "$MARIADB_ROOT_PASSWORD_FILE")
|
|
|
|
fi
|
|
|
|
mysqladmin status -uroot -p"${password_aux}"
|
|
|
|
volumeMounts:
|
|
|
|
- name: data
|
|
|
|
mountPath: /bitnami/mariadb
|
|
|
|
- name: config
|
|
|
|
mountPath: /opt/bitnami/mariadb/conf/my.cnf
|
|
|
|
subPath: my.cnf
|
|
|
|
- name: empty-dir
|
|
|
|
mountPath: /tmp
|
|
|
|
subPath: tmp-dir
|
|
|
|
- name: empty-dir
|
|
|
|
mountPath: /opt/bitnami/mariadb/conf
|
|
|
|
subPath: app-conf-dir
|
|
|
|
- name: empty-dir
|
|
|
|
mountPath: /opt/bitnami/mariadb/tmp
|
|
|
|
subPath: app-tmp-dir
|
|
|
|
- name: empty-dir
|
|
|
|
mountPath: /opt/bitnami/mariadb/logs
|
|
|
|
subPath: app-logs-dir
|
|
|
|
volumes:
|
|
|
|
- name: empty-dir
|
|
|
|
emptyDir: {}
|
|
|
|
- name: config
|
|
|
|
configMap:
|
|
|
|
name: kk-mariadb
|
|
|
|
volumeClaimTemplates:
|
|
|
|
- metadata:
|
|
|
|
name: data
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/name: mariadb
|
|
|
|
app.kubernetes.io/component: primary
|
|
|
|
spec:
|
|
|
|
accessModes:
|
|
|
|
- "ReadWriteOnce"
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: "8Gi"
|
|
|
|
---
|
|
|
|
# Source: wordpress-final/templates/ingress.yaml
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
namespace: "default"
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/instance: kk
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/name: wordpress-final
|
|
|
|
app.kubernetes.io/version: 6.4.3
|
2024-04-25 17:01:21 +02:00
|
|
|
helm.sh/chart: wordpress-final-20.1.12
|
2024-04-24 19:13:37 +02:00
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: "wordpress-genes.lab.groupe-genes.fr"
|
|
|
|
http:
|
|
|
|
paths:
|
2024-04-25 17:01:21 +02:00
|
|
|
- path: /
|
|
|
|
pathType: ImplementationSpecific
|
2024-04-24 19:13:37 +02:00
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: kk-wordpress-final
|
|
|
|
port:
|
|
|
|
name: http
|