Commit graph

  • f6d1842876 image: skymatic/logrotate:latest miwr 2025-03-31 12:14:19 +02:00
  • 508ecd3f12 imagePullPolicy: IfNotPresent miwr 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" miwr 2025-03-31 11:54:31 +02:00
  • 0485a8fb76 image: skymatic/logrotate:latest miwr 2025-03-31 11:42:14 +02:00
  • 17f578dde2 blacklabelops/logrotate miwr 2025-03-31 11:20:56 +02:00
  • a35aefc376 image: debian:stable-slim miwr 2025-03-31 11:07:40 +02:00
  • 398c94fbc8 alpine:latest miwr 2025-03-31 11:02:11 +02:00
  • 30f0c6f218 debian:stable-slim miwr 2025-03-31 10:54:23 +02:00
  • d6fa372e5f Merge pull request 'Update fix to latest kindserver' (#23) from kindserver_development_test into development 1.2.0 richardrobertreitz 2025-03-31 08:33:58 +00:00
  • 06303ef355 bao audit enable -path="file" file file_path=/openbao/logs/openbao/openbao.log miwr 2025-03-31 10:30:15 +02:00
  • 08471dee47 bao audit enable -path="file" file file_path=/var/log/openbao/openbao.log miwr 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 miwr 2025-03-31 10:19:39 +02:00
  • 3853370a8c # - name: logrotate-config # mountPath: /etc/logrotate.conf # subPath: logrotate.conf miwr 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 miwr 2025-03-31 10:03:59 +02:00
  • 51e765049b Update fix to latest kindserver Richard Robert Reitz 2025-03-30 22:34:04 +02:00
  • cc07dbf719 Update fix to latest kindserver kindserver_development Richard Robert Reitz 2025-03-30 22:20:40 +02:00
  • a58f8f7a07 updated update_provider_argocd Richard Robert Reitz 2025-03-29 08:54:41 +01:00
  • 4814dff26f Merge pull request 'updated argocd nginxingress and forgejo' (#22) from forgejo_upgrade_to_11_0_5 into development richardrobertreitz 2025-03-27 19:49:13 +00:00
  • b3495f610c updated argocd Richard Robert Reitz 2025-03-27 20:42:01 +01:00
  • 9ba027f94b updated nginx-ingress Richard Robert Reitz 2025-03-27 20:10:06 +01:00
  • dd7551a293 updated forgejo and forgejo-runner Richard Robert Reitz 2025-03-27 19:33:56 +01:00
  • c79114f463 # bao audit enable file file_path=stdout miwr 2025-03-27 13:43:26 +01:00
  • 6a5be1257c bao audit enable file file_path=stdout miwr 2025-03-27 13:19:45 +01:00
  • 1cb714aabb volumeMounts: - mountPath: /var/log name: log-storage readOnly: false miwr 2025-03-26 15:51:24 +01:00
  • 450b5ff1a8 # removed miwr 2025-03-26 15:42:15 +01:00
  • aaaf905edc # rm -rf /openbao/data/* miwr 2025-03-26 15:40:05 +01:00
  • bd89c91d52 forgot to add login miwr 2025-03-26 15:31:49 +01:00
  • a9ad7c1c5c comments deleted miwr 2025-03-26 15:24:19 +01:00
  • 66a56f2c43 bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}') moved two lines up miwr 2025-03-26 15:14:06 +01:00
  • 8126550d70 rm removed miwr 2025-03-26 15:09:21 +01:00
  • a772e4f9ae # UN-initialises the openbao server (necessary for the new instance to spin up if the pod or container crashes) removed miwr 2025-03-26 15:00:49 +01:00
  • 509a07b39d configuration added IPCEICIS-3110 miwr 2025-03-26 14:58:55 +01:00
  • f9c880549d configuration added IPCEICIS-3111 miwr 2025-03-26 14:51:33 +01:00
  • d057e9dae1 configuration added miwr 2025-03-26 14:44:35 +01:00
  • 1898daa4a5 bao audit enable file file_path=stdout added miwr 2025-03-26 14:36:03 +01:00
  • 1f429f079b loki.source.syslog "tcp_socket" { listener { address = "0.0.0.0:1514" labels = { component = "loki.source.syslog", protocol = "tcp" } } forward_to = [loki.write.local_loki.receiver] } shipping_openbao_logs miwr 2025-03-26 13:55:46 +01:00
  • 574fe29565 labels = { component = "loki.source.syslog", protocol = "tcp" } miwr 2025-03-26 13:46:08 +01:00
  • 992749c6fc loki.source.kubernetes "all_pod_logs" { targets = discovery.relabel.pod_logs.output forward_to = [loki.write.local_loki.receiver] } miwr 2025-03-26 13:16:02 +01:00
  • 2fda5818ec create: false name: alloy-config key: config.alloy miwr 2025-03-26 13:03:23 +01:00
  • a1925e083b - name: "tcpsocket" miwr 2025-03-26 12:56:03 +01:00
  • 21ce529abe create: false name: alloy-config key: config.alloy miwr 2025-03-26 12:50:13 +01:00
  • ecf2ed5787 extraPorts: - name: "tcp_socket" port: 1514 targetPort: 1514 protocol: "TCP" appProtocol: "tcp" miwr 2025-03-26 12:43:02 +01:00
  • e8c6aeb3c2 address = "0.0.0.0:1514" miwr 2025-03-26 12:38:39 +01:00
  • bfc8972580 forward_to = [loki.write.local_loki.receiver] miwr 2025-03-26 12:34:48 +01:00
  • d64ecf325b address = "0.0.0.0:12345" miwr 2025-03-26 12:30:30 +01:00
  • c16ad82150 # extraPorts: # - name: "tcp_socket" # port: 1514 # targetPort: 1514 # protocol: "TCP" # appProtocol: "tcp" miwr 2025-03-26 12:28:37 +01:00
  • e901ac85fc extraPorts: - name: "tcp_socket" port: 1514 targetPort: 1514 protocol: "TCP" appProtocol: "tcp" miwr 2025-03-26 11:53:11 +01:00
  • 08a4037929 extraPorts: - name: "tcp_socket" port: 1514 targetPort: 1514 protocol: "TCP" appProtocol: "tcp" miwr 2025-03-26 11:46:02 +01:00
  • 2a8bdd0f6d loki.source.syslog "tcp_socket" { listener { address = "0.0.0.0:1514" } forward_to = [loki.write.local_loki.receiver] } miwr 2025-03-26 11:01:33 +01:00
  • 5c9b4c679d sleep 60 miwr 2025-03-25 15:16:07 +01:00
  • d941d12bcd mkdir pupa miwr 2025-03-25 15:02:50 +01:00
  • c34d538073 /var/log/openbao/openbao/*.log { miwr 2025-03-25 14:08:02 +01:00
  • 42be001b3c bao audit enable -path="file" file file_path=/openbao/logs/openbao/openbao.log miwr 2025-03-25 13:59:25 +01:00
  • 278cf798f4 apiVersion: v1 kind: ConfigMap metadata: name: openbao-logrotate-config namespace: openbao data: openbao: | /var/log/openbao/*.log { size 5k rotate 7 compress missingok notifempty postrotate kill -SIGHUP $(pidof bao) endscript } miwr 2025-03-25 13:52:55 +01:00
  • 5c197fd0f1 sidecar container detached miwr 2025-03-25 13:26:28 +01:00
  • bb3c6cf438 /openbao/logs/openbao/openbao.log miwr 2025-03-25 13:19:15 +01:00
  • 2372cefe0b # bao audit enable -path="file" file file_path=/openbao/logs/openbao.log miwr 2025-03-25 13:13:39 +01:00
  • be7881e2ec test miwr 2025-03-25 13:03:29 +01:00
  • c6e71f8aeb logging setup miwr 2025-03-25 12:51:00 +01:00
  • 547938acd4 - name: host-log hostPath: path: /var/log type: Directory miwr 2025-03-25 11:18:52 +01:00
  • 7179d2568c Merge pull request 'feat(mailhog): IPCEICIS-3048 Implement mailhog in edp stacks' (#18) from feature/IPCEICIS-3048-Implement-mailhog-in-edp-stacks into development 1.1.1 1.1.0 richardrobertreitz 2025-03-24 17:19:22 +00:00
  • 55435a3ad2 feat(mailhog): IPCEICIS-3048 - added documentation Bot 2025-03-24 17:09:44 +01:00
  • 320e67a1d2 no liveness probe miwr 2025-03-24 14:50:16 +01:00
  • 71a5463237 rm /tmp/init.txt bao audit enable -path="stdout" file file_path=stdout bao audit enable -path="file" file file_path=/openbao/logs/openbao.log miwr 2025-03-24 14:20:54 +01:00
  • 4620a92aee # rm /tmp/init.txt miwr 2025-03-24 13:57:39 +01:00
  • 5086db7cba 100 miwr 2025-03-24 13:50:33 +01:00
  • 2c5cad03c8 sleep 10 miwr 2025-03-24 13:50:07 +01:00
  • aae508014a cat /tmp/init.txt | grep "Key " | awk '{print $NF}' | xargs -I{} bao operator unseal {} echo $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/initial_token.txt echo $(grep "Unseal Key 1:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key1.txt echo $(grep "Unseal Key 2:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key2.txt echo $(grep "Unseal Key 3:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key3.txt echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}') rm /tmp/init.txt miwr 2025-03-24 13:41:47 +01:00
  • 8d7a7cb1bf bao operator init >> /tmp/init.txt miwr 2025-03-24 13:38:15 +01:00
  • 8f28c30364 ### miwr 2025-03-24 13:33:13 +01:00
  • dcce720122 # bao audit enable -path="stdout" file file_path=stdout # bao audit enable -path="file" file file_path=/openbao/logs/openbao.log miwr 2025-03-24 13:32:40 +01:00
  • f39c8c979b livenessProbe: enabled: true execCommand: - /bin/sh - -c - bao status miwr 2025-03-24 13:12:46 +01:00
  • d41a27305e livenessProbe: enabled: true miwr 2025-03-24 12:54:27 +01:00
  • d0585fd2b7 feat(mailhog): IPCEICIS-3048 - mailhog deployed, ingress is https://<URL>/mailhog, forgje is configured Stephan Lo 2025-03-20 23:47:53 +01:00
  • 4601d2f25d those command were deleted miwr 2025-03-20 16:18:43 +01:00
  • 5f5ac62b0b touch /shared/main.alive; trap 'rm -f /shared/main.alive; exit 0' TERM; while true; do sleep 1; done miwr 2025-03-20 16:14:03 +01:00
  • 3937c98d00 /openbao/logs/alive/main.alive miwr 2025-03-20 16:03:21 +01:00
  • d21c543f2c log-sidecar removed miwr 2025-03-20 15:50:04 +01:00
  • 64677a02d1 url = "http://loki-loki-distributed-gateway.monitoring.svc.cluster.local/loki/api/v1/push" miwr 2025-03-20 15:14:01 +01:00
  • 350398cb23 path_targets = [{"__path__" = "/openbao/logs/*"}] miwr 2025-03-20 14:44:48 +01:00
  • 02c739524b config.alloy miwr 2025-03-20 14:39:03 +01:00
  • 3db4058181 - key: "config.yaml" path: "/config.alloy" - key: "config.yaml" path: "/pupa/config.alloy" miwr 2025-03-20 14:34:51 +01:00
  • d866169744 - name: config-volume mountPath: /etc/alloy items: - key: "config.yaml" path: "config.alloy" miwr 2025-03-20 14:28:27 +01:00
  • 267a04fee5 mountPath: /etc/alloy items: - key: "config.yaml" path: "config.alloy" miwr 2025-03-20 14:23:57 +01:00
  • c376f6d0c6 - --config.file=/var/lib/alloy/config/config.yaml miwr 2025-03-20 14:09:45 +01:00
  • 39eab1ef93 - name: config-volume configMap: name: sidecar-container-alloy-config miwr 2025-03-20 14:00:59 +01:00
  • ec2fc47ea2 mountPath: /var/lib/alloy miwr 2025-03-20 13:52:04 +01:00
  • 2058f6a36b mountPath: /var/lib miwr 2025-03-20 13:48:12 +01:00
  • 87522c11db /var miwr 2025-03-20 13:39:35 +01:00
  • 88df4ea8f4 runAsUser: 100 miwr 2025-03-20 13:30:37 +01:00
  • 6385e39067 /openbao/logs/pupa2 miwr 2025-03-20 13:12:50 +01:00
  • 005f7503ce mountPath: /var/lib/alloy/data miwr 2025-03-20 13:05:44 +01:00
  • 140dddd955 mountPath: /var/lib/alloy/data miwr 2025-03-20 12:58:23 +01:00
  • 285e823936 path_targets = [{"__path__" = "/var/log/*"}] miwr 2025-03-20 12:55:00 +01:00
  • c9c67a9d54 name changes miwr 2025-03-20 12:36:57 +01:00
  • 0dbf646477 alloy is back miwr 2025-03-20 12:36:18 +01:00
  • 5843e9498b targets = local.file_match.openbao_file_logs.targets miwr 2025-03-20 11:33:08 +01:00
  • 3e1b284e3b local.file_match "openbao_file_logs" { path_targets = [{"__path__" = "/openbao/logs/*"}] sync_period = "5s" } miwr 2025-03-20 11:26:21 +01:00
  • a5ec02205a bao audit enable -path="stdout" file file_path=stdout bao audit enable -path="file" file file_path=/openbao/logs/openbao.log miwr 2025-03-20 11:03:57 +01:00
  • 974e0182cc # touch /openbao/logs/openbao.log # bao audit enable file file_path=/openbao/logs/openbao.log miwr 2025-03-20 10:45:12 +01:00