Commit graph

124 commits

Author SHA1 Message Date
abd7da5cd3 image: alpine:latest 2025-03-31 13:58:12 +02:00
a42df6275c restart policy removed 2025-03-31 13:50:24 +02:00
5a802be864 - |
set -e
          useradd -u 100 logrotate
          chown logrotate:logrotate /var/lib
          tail -f /dev/null
2025-03-31 13:45:05 +02:00
bc6ed363e2 logrotate-priviledges 2025-03-31 13:38:33 +02:00
631be775f5 chown logrotate:logrotate /var/lib/logrotate.status 2025-03-31 13:28:37 +02:00
0107666fe2 logrotate-config-volume 2025-03-31 12:31:38 +02:00
e5ccae1aab - name: logrotate-config
mountPath: /etc/logrotate.conf
          subPath: logrotate.conf
          readOnly: true
2025-03-31 12:22:35 +02:00
f6d1842876 image: skymatic/logrotate:latest 2025-03-31 12:14:19 +02:00
508ecd3f12 imagePullPolicy: IfNotPresent 2025-03-31 12:07:24 +02:00
5e47caaee1 - name: logrotate
image: imroc/logrotate:latest
      env:
        - name: LOGROTATE_FILE_PATTERN
          value: "/var/log/nginx/nginx_*.log"
        - name: LOGROTATE_FILESIZE
          value: "20M"
        - name: LOGROTATE_FILENUM
          value: "10"
        - name: CRON_EXPR
          value: "*/1 * * * *"
        - name: CROND_LOGLEVEL
          value: "7"
2025-03-31 11:54:31 +02:00
0485a8fb76 image: skymatic/logrotate:latest 2025-03-31 11:42:14 +02:00
17f578dde2 blacklabelops/logrotate 2025-03-31 11:20:56 +02:00
a35aefc376 image: debian:stable-slim 2025-03-31 11:07:40 +02:00
398c94fbc8 alpine:latest 2025-03-31 11:02:11 +02:00
30f0c6f218 debian:stable-slim 2025-03-31 10:54:23 +02:00
06303ef355 bao audit enable -path="file" file file_path=/openbao/logs/openbao/openbao.log 2025-03-31 10:30:15 +02:00
08471dee47 bao audit enable -path="file" file file_path=/var/log/openbao/openbao.log 2025-03-31 10:25:48 +02:00
881b65fcec apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: openbao-logging-dir
  namespace: openbao
spec:
  selector:
    matchLabels:
      app: openbao-logging-dir
  template:
    metadata:
      labels:
        app: openbao-logging-dir
    spec:
      initContainers:
      - name: creator
        image: busybox
        command: ["/bin/sh", "-c"]
        args:
        - |
          set -e
          mkdir -p /var/log/openbao
          chown 100:100 /var/log/openbao
        securityContext:
          runAsUser: 0
        volumeMounts:
        - name: host-log
          mountPath: /var/log
      containers:
      - name: running-container
        image: busybox
        command: ["sleep", "infinity"]
      volumes:
      - name: host-log
        hostPath:
          path: /var/log
          type: Directory
2025-03-31 10:19:39 +02:00
3853370a8c # - name: logrotate-config
#   mountPath: /etc/logrotate.conf
        #   subPath: logrotate.conf
2025-03-31 10:10:59 +02:00
6acd284b83 - name: logrotate
image: alpine:latest
      command: ["/bin/sh", "-c", "while true; do /usr/sbin/logrotate /etc/logrotate.conf; sleep 60; done"]
      securityContext:
        runAsUser: 100
      volumeMounts:
        - name: host-log-storage
          mountPath: /openbao/logs
        - name: logrotate-config
          mountPath: /etc/logrotate.conf
          subPath: logrotate.conf
2025-03-31 10:03:59 +02:00
c79114f463 # bao audit enable file file_path=stdout 2025-03-27 13:43:26 +01:00
6a5be1257c bao audit enable file file_path=stdout 2025-03-27 13:19:45 +01:00
1cb714aabb volumeMounts:
- mountPath: /var/log
    name: log-storage
    readOnly: false
2025-03-26 15:51:24 +01:00
450b5ff1a8 # removed 2025-03-26 15:42:15 +01:00
aaaf905edc # rm -rf /openbao/data/* 2025-03-26 15:40:05 +01:00
bd89c91d52 forgot to add login 2025-03-26 15:31:49 +01:00
a9ad7c1c5c comments deleted 2025-03-26 15:24:19 +01:00
d057e9dae1 configuration added 2025-03-26 14:44:35 +01:00
Bot
55435a3ad2 feat(mailhog): IPCEICIS-3048 - added documentation 2025-03-24 17:09:44 +01:00
Stephan Lo
d0585fd2b7 feat(mailhog): IPCEICIS-3048 - mailhog deployed, ingress is https://<URL>/mailhog, forgje is configured 2025-03-20 23:57:52 +01:00
65b74abeda Merge branch 'development' into alloy_implementation 2025-03-18 08:52:51 +00:00
fc287acf58 Update template/stacks/ref-implementation/backstage-templates/entities/spring-petclinic/skeleton/.github/workflows/maven-build.yml 2025-03-17 21:50:50 +00:00
94e3a759b2 Update template/stacks/core/crossplane-providers/provider-shell.yaml 2025-03-16 22:53:03 +00:00
31b768eebc Update template/stacks/core/crossplane-providers/provider-kind.yaml 2025-03-16 22:51:03 +00:00
9b5457e45f Update template/stacks/ref-implementation/backstage/manifests/install.yaml
chore(backstage): adjust to forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/backstage-edp:development
2025-03-15 13:27:41 +00:00
Stephan Lo
c1b68bfdb2 chore(provider-shell): adjust to https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/-/packages/container/provider-shell/v0.1.3 2025-03-14 19:20:29 +01:00
beeb1f916b Hofix for ArgoCD problems after path routing fix 2025-03-14 09:34:45 +01:00
b42bba4379 Merge pull request 'IPCEICIS-2751_backstage' (#14) from IPCEICIS-2751_backstage into development
Reviewed-on: #14
2025-03-14 08:16:59 +00:00
5cc22c5648 Update template/stacks/core/ingress-apps/argocd-server.yaml 2025-03-13 16:16:49 +00:00
2f5a263511 Update template/stacks/core/argocd/values.yaml 2025-03-13 16:08:10 +00:00
d8867b9e3a Update template/stacks/ref-implementation/backstage/manifests/install.yaml 2025-03-13 10:16:04 +00:00
415576c2cb unnecessary rule deleted 2025-03-13 10:26:56 +01:00
1e5fa94c47 rules in alloy's values.yaml adjusted 2025-03-13 10:19:45 +01:00
8f621647f5 rule {
source_labels = ["__meta_kubernetes_pod_name", "__meta_kubernetes_pod_container_name"]
          action = "replace"
          target_label = "__path__"
          replacement = "/var/log/containers/$1_$2.log"
        }
2025-03-13 10:08:59 +01:00
74a77bfa3b Update template/stacks/ref-implementation/backstage/manifests/install.yaml 2025-03-13 09:00:38 +00:00
3293f9cf5a Update template/stacks/ref-implementation/backstage/manifests/install.yaml 2025-03-13 08:33:06 +00:00
75f40e070c promtail references replaces with alloy in dashboard_loki_container.yaml 2025-03-12 15:55:41 +01:00
b462804f29 loki.source.kubernetes "all_pod_logs" {
targets    = discovery.relabel.pod_logs.output
        forward_to = [loki.write.local_loki.receiver]
      }
2025-03-12 15:28:20 +01:00
fbb5aeb32b forward_to = [loki.write.local_loki.receiver] 2025-03-12 15:20:35 +01:00
687322525b values.yaml for alloy edited 2025-03-12 15:18:59 +01:00