apiVersion: v1
items:
- apiVersion: apps/v1
  kind: Deployment
  metadata:
    annotations:
      argocd.argoproj.io/sync-wave: "5"
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:apps/Deployment:hf-mautic/mautic-cron
      deployment.kubernetes.io/revision: "3"
    creationTimestamp: "2026-06-17T16:30:33Z"
    generation: 4
    labels:
      app: mautic-cron
    name: mautic-cron
    namespace: hf-mautic
    resourceVersion: "87550654"
    uid: 7450389a-4a2c-4e48-93b0-dbbce9984ef1
  spec:
    progressDeadlineSeconds: 600
    replicas: 1
    revisionHistoryLimit: 10
    selector:
      matchLabels:
        app: mautic-cron
    strategy:
      rollingUpdate:
        maxSurge: 25%
        maxUnavailable: 25%
      type: RollingUpdate
    template:
      metadata:
        annotations:
          kubectl.kubernetes.io/restartedAt: "2026-06-17T18:38:17+02:00"
        creationTimestamp: null
        labels:
          app: mautic-cron
      spec:
        containers:
        - env:
          - name: DOCKER_MAUTIC_ROLE
            value: mautic_cron
          - name: MAUTIC_DB_HOST
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_HOST
                name: mautic-secret
          - name: MAUTIC_DB_PORT
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_PORT
                name: mautic-secret
          - name: MAUTIC_DB_DATABASE
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_DATABASE
                name: mautic-secret
          - name: MAUTIC_DB_USER
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_USER
                name: mautic-secret
          - name: MAUTIC_DB_PASSWORD
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_PASSWORD
                name: mautic-secret
          - name: MAUTIC_SITE_URL
            valueFrom:
              secretKeyRef:
                key: MAUTIC_SITE_URL
                name: mautic-secret
          - name: MAUTIC_SECRET_KEY
            valueFrom:
              secretKeyRef:
                key: MAUTIC_SECRET_KEY
                name: mautic-secret
          image: docker.io/mautic/mautic:5-apache
          imagePullPolicy: IfNotPresent
          name: mautic-cron
          resources: {}
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          volumeMounts:
          - mountPath: /var/www/html/config
            name: mautic-data
            subPath: config
          - mountPath: /var/www/html/var/logs
            name: mautic-data
            subPath: logs
          - mountPath: /var/www/html/docroot/media
            name: mautic-data
            subPath: media
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
        volumes:
        - name: mautic-data
          persistentVolumeClaim:
            claimName: mautic-data-pvc
  status:
    availableReplicas: 1
    conditions:
    - lastTransitionTime: "2026-06-17T16:36:06Z"
      lastUpdateTime: "2026-06-17T16:36:06Z"
      message: Deployment has minimum availability.
      reason: MinimumReplicasAvailable
      status: "True"
      type: Available
    - lastTransitionTime: "2026-06-17T16:30:33Z"
      lastUpdateTime: "2026-06-18T07:11:34Z"
      message: ReplicaSet "mautic-cron-59565dc547" has successfully progressed.
      reason: NewReplicaSetAvailable
      status: "True"
      type: Progressing
    observedGeneration: 4
    readyReplicas: 1
    replicas: 1
    updatedReplicas: 1
- apiVersion: apps/v1
  kind: Deployment
  metadata:
    annotations:
      argocd.argoproj.io/sync-wave: "4"
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:apps/Deployment:hf-mautic/mautic
      deployment.kubernetes.io/revision: "2"
    creationTimestamp: "2026-06-17T16:30:33Z"
    generation: 3
    labels:
      app: mautic
    name: mautic
    namespace: hf-mautic
    resourceVersion: "88030832"
    uid: 1d9496b7-57b5-47e8-90f8-29ab4a476c16
  spec:
    progressDeadlineSeconds: 600
    replicas: 1
    revisionHistoryLimit: 10
    selector:
      matchLabels:
        app: mautic
    strategy:
      rollingUpdate:
        maxSurge: 25%
        maxUnavailable: 25%
      type: RollingUpdate
    template:
      metadata:
        annotations:
          kubectl.kubernetes.io/restartedAt: "2026-06-17T18:38:17+02:00"
        creationTimestamp: null
        labels:
          app: mautic
      spec:
        containers:
        - env:
          - name: DOCKER_MAUTIC_ROLE
            value: mautic_web
          - name: DOCKER_MAUTIC_RUN_MIGRATIONS
            value: "true"
          - name: DOCKER_MAUTIC_LOAD_TEST_DATA
            value: "false"
          - name: MAUTIC_DB_HOST
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_HOST
                name: mautic-secret
          - name: MAUTIC_DB_PORT
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_PORT
                name: mautic-secret
          - name: MAUTIC_DB_DATABASE
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_DATABASE
                name: mautic-secret
          - name: MAUTIC_DB_USER
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_USER
                name: mautic-secret
          - name: MAUTIC_DB_PASSWORD
            valueFrom:
              secretKeyRef:
                key: MAUTIC_DB_PASSWORD
                name: mautic-secret
          - name: MAUTIC_SITE_URL
            valueFrom:
              secretKeyRef:
                key: MAUTIC_SITE_URL
                name: mautic-secret
          - name: MAUTIC_TRUSTED_PROXIES
            valueFrom:
              secretKeyRef:
                key: MAUTIC_TRUSTED_PROXIES
                name: mautic-secret
          - name: MAUTIC_SECRET_KEY
            valueFrom:
              secretKeyRef:
                key: MAUTIC_SECRET_KEY
                name: mautic-secret
          - name: PHP_INI_VALUE_MEMORY_LIMIT
            value: 512M
          - name: PHP_INI_VALUE_UPLOAD_MAX_FILESIZE
            value: 128M
          - name: PHP_INI_VALUE_POST_MAX_FILESIZE
            value: 128M
          image: docker.io/mautic/mautic:5-apache
          imagePullPolicy: IfNotPresent
          name: mautic
          ports:
          - containerPort: 80
            name: http
            protocol: TCP
          readinessProbe:
            failureThreshold: 3
            httpGet:
              path: /
              port: http
              scheme: HTTP
            initialDelaySeconds: 30
            periodSeconds: 15
            successThreshold: 1
            timeoutSeconds: 1
          resources: {}
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          volumeMounts:
          - mountPath: /var/www/html/config
            name: mautic-data
            subPath: config
          - mountPath: /var/www/html/var/logs
            name: mautic-data
            subPath: logs
          - mountPath: /var/www/html/docroot/media
            name: mautic-data
            subPath: media
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
        volumes:
        - name: mautic-data
          persistentVolumeClaim:
            claimName: mautic-data-pvc
  status:
    availableReplicas: 1
    conditions:
    - lastTransitionTime: "2026-06-17T16:30:33Z"
      lastUpdateTime: "2026-06-17T16:39:04Z"
      message: ReplicaSet "mautic-6dbbbccf59" has successfully progressed.
      reason: NewReplicaSetAvailable
      status: "True"
      type: Progressing
    - lastTransitionTime: "2026-06-22T03:16:19Z"
      lastUpdateTime: "2026-06-22T03:16:19Z"
      message: Deployment has minimum availability.
      reason: MinimumReplicasAvailable
      status: "True"
      type: Available
    observedGeneration: 3
    readyReplicas: 1
    replicas: 1
    updatedReplicas: 1
- apiVersion: v1
  kind: Service
  metadata:
    annotations:
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:/Service:hf-mautic/mautic-db
    creationTimestamp: "2026-06-17T16:28:51Z"
    name: mautic-db
    namespace: hf-mautic
    resourceVersion: "87550601"
    uid: e55a6494-812f-443c-bdd1-ee15e423916b
  spec:
    clusterIP: 10.43.184.10
    clusterIPs:
    - 10.43.184.10
    internalTrafficPolicy: Cluster
    ipFamilies:
    - IPv4
    ipFamilyPolicy: SingleStack
    ports:
    - name: mysql
      port: 3306
      protocol: TCP
      targetPort: mysql
    selector:
      app: mautic-db
    sessionAffinity: None
    type: ClusterIP
  status:
    loadBalancer: {}
- apiVersion: v1
  kind: Service
  metadata:
    annotations:
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:/Service:hf-mautic/mautic
    creationTimestamp: "2026-06-17T16:28:51Z"
    name: mautic
    namespace: hf-mautic
    resourceVersion: "87550602"
    uid: 1943c40d-28b2-47bf-abf2-03f3593edb7c
  spec:
    clusterIP: 10.43.59.172
    clusterIPs:
    - 10.43.59.172
    internalTrafficPolicy: Cluster
    ipFamilies:
    - IPv4
    ipFamilyPolicy: SingleStack
    ports:
    - name: http
      port: 80
      protocol: TCP
      targetPort: http
    selector:
      app: mautic
    sessionAffinity: None
    type: ClusterIP
  status:
    loadBalancer: {}
- apiVersion: v1
  kind: PersistentVolumeClaim
  metadata:
    annotations:
      argocd.argoproj.io/sync-wave: "1"
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:/PersistentVolumeClaim:hf-mautic/mautic-db-pvc
      pv.kubernetes.io/bind-completed: "yes"
      pv.kubernetes.io/bound-by-controller: "yes"
      volume.beta.kubernetes.io/storage-provisioner: driver.longhorn.io
      volume.kubernetes.io/storage-provisioner: driver.longhorn.io
    creationTimestamp: "2026-06-17T16:28:55Z"
    finalizers:
    - kubernetes.io/pvc-protection
    name: mautic-db-pvc
    namespace: hf-mautic
    resourceVersion: "87550609"
    uid: 1606131d-1cfe-4652-b557-3c81363fcf38
  spec:
    accessModes:
    - ReadWriteOnce
    resources:
      requests:
        storage: 10Gi
    storageClassName: longhorn
    volumeMode: Filesystem
    volumeName: pvc-1606131d-1cfe-4652-b557-3c81363fcf38
  status:
    accessModes:
    - ReadWriteOnce
    capacity:
      storage: 10Gi
    phase: Bound
- apiVersion: v1
  kind: PersistentVolumeClaim
  metadata:
    annotations:
      argocd.argoproj.io/sync-wave: "1"
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:/PersistentVolumeClaim:hf-mautic/mautic-data-pvc
      pv.kubernetes.io/bind-completed: "yes"
      pv.kubernetes.io/bound-by-controller: "yes"
      volume.beta.kubernetes.io/storage-provisioner: driver.longhorn.io
      volume.kubernetes.io/storage-provisioner: driver.longhorn.io
    creationTimestamp: "2026-06-17T16:28:55Z"
    finalizers:
    - kubernetes.io/pvc-protection
    name: mautic-data-pvc
    namespace: hf-mautic
    resourceVersion: "87550610"
    uid: 0144f872-b2b9-482c-8fc1-9e07d15b4395
  spec:
    accessModes:
    - ReadWriteOnce
    resources:
      requests:
        storage: 5Gi
    storageClassName: longhorn
    volumeMode: Filesystem
    volumeName: pvc-0144f872-b2b9-482c-8fc1-9e07d15b4395
  status:
    accessModes:
    - ReadWriteOnce
    capacity:
      storage: 5Gi
    phase: Bound
- apiVersion: external-secrets.io/v1beta1
  kind: ExternalSecret
  metadata:
    annotations:
      argocd.argoproj.io/sync-wave: "2"
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic-secrets:external-secrets.io/ExternalSecret:hf-mautic/mautic-secret
      force-sync: "1781714288"
    creationTimestamp: "2026-06-17T16:28:51Z"
    generation: 1
    name: mautic-secret
    namespace: hf-mautic
    resourceVersion: "88086165"
    uid: c6ec9f49-1b4c-41e5-b5ae-3f18f0722687
  spec:
    data:
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_DB_HOST
        metadataPolicy: None
      secretKey: MAUTIC_DB_HOST
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_DB_PORT
        metadataPolicy: None
      secretKey: MAUTIC_DB_PORT
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_DB_DATABASE
        metadataPolicy: None
      secretKey: MAUTIC_DB_DATABASE
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_DB_USER
        metadataPolicy: None
      secretKey: MAUTIC_DB_USER
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_DB_PASSWORD
        metadataPolicy: None
      secretKey: MAUTIC_DB_PASSWORD
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MARIADB_DATABASE
        metadataPolicy: None
      secretKey: MARIADB_DATABASE
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MARIADB_USER
        metadataPolicy: None
      secretKey: MARIADB_USER
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MARIADB_PASSWORD
        metadataPolicy: None
      secretKey: MARIADB_PASSWORD
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MARIADB_ROOT_PASSWORD
        metadataPolicy: None
      secretKey: MARIADB_ROOT_PASSWORD
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_SITE_URL
        metadataPolicy: None
      secretKey: MAUTIC_SITE_URL
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_TRUSTED_PROXIES
        metadataPolicy: None
      secretKey: MAUTIC_TRUSTED_PROXIES
    - remoteRef:
        conversionStrategy: Default
        decodingStrategy: None
        key: MAUTIC_SECRET_KEY
        metadataPolicy: None
      secretKey: MAUTIC_SECRET_KEY
    refreshInterval: 1h
    secretStoreRef:
      kind: SecretStore
      name: dmz-infisical
    target:
      creationPolicy: Owner
      deletionPolicy: Retain
      name: mautic-secret
  status:
    binding:
      name: mautic-secret
    conditions:
    - lastTransitionTime: "2026-06-17T16:28:54Z"
      message: Secret was synced
      reason: SecretSynced
      status: "True"
      type: Ready
    refreshTime: "2026-06-22T14:39:17Z"
    syncedResourceVersion: 1-d5c09ad4e6c90440b95291df0f4aa14e
- apiVersion: apps/v1
  kind: StatefulSet
  metadata:
    annotations:
      argocd.argoproj.io/sync-wave: "3"
      argocd.argoproj.io/tracking-id: pidoka-hf-mautic:apps/StatefulSet:hf-mautic/mautic-db
    creationTimestamp: "2026-06-17T16:29:00Z"
    generation: 2
    labels:
      app: mautic-db
    name: mautic-db
    namespace: hf-mautic
    resourceVersion: "87550620"
    uid: 85ee85b6-9557-4994-9a46-5a85fae16a6e
  spec:
    persistentVolumeClaimRetentionPolicy:
      whenDeleted: Retain
      whenScaled: Retain
    podManagementPolicy: OrderedReady
    replicas: 1
    revisionHistoryLimit: 10
    selector:
      matchLabels:
        app: mautic-db
    serviceName: mautic-db
    template:
      metadata:
        creationTimestamp: null
        labels:
          app: mautic-db
      spec:
        containers:
        - args:
          - --character-set-server=utf8mb4
          - --collation-server=utf8mb4_unicode_ci
          - --sql-mode=
          env:
          - name: MARIADB_ROOT_PASSWORD
            valueFrom:
              secretKeyRef:
                key: MARIADB_ROOT_PASSWORD
                name: mautic-secret
          - name: MARIADB_DATABASE
            valueFrom:
              secretKeyRef:
                key: MARIADB_DATABASE
                name: mautic-secret
          - name: MARIADB_USER
            valueFrom:
              secretKeyRef:
                key: MARIADB_USER
                name: mautic-secret
          - name: MARIADB_PASSWORD
            valueFrom:
              secretKeyRef:
                key: MARIADB_PASSWORD
                name: mautic-secret
          image: docker.io/library/mariadb:10.11
          imagePullPolicy: IfNotPresent
          name: mariadb
          ports:
          - containerPort: 3306
            name: mysql
            protocol: TCP
          readinessProbe:
            failureThreshold: 3
            initialDelaySeconds: 10
            periodSeconds: 10
            successThreshold: 1
            tcpSocket:
              port: mysql
            timeoutSeconds: 1
          resources: {}
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          volumeMounts:
          - mountPath: /var/lib/mysql
            name: mautic-db-storage
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
        volumes:
        - name: mautic-db-storage
          persistentVolumeClaim:
            claimName: mautic-db-pvc
    updateStrategy:
      rollingUpdate:
        partition: 0
      type: RollingUpdate
  status:
    availableReplicas: 1
    collisionCount: 0
    currentReplicas: 1
    currentRevision: mautic-db-66f7798dff
    observedGeneration: 2
    readyReplicas: 1
    replicas: 1
    updateRevision: mautic-db-66f7798dff
    updatedReplicas: 1
kind: List
metadata:
  resourceVersion: ""
