insecure os

This commit is contained in:
Alexander Rogov
2026-07-12 22:50:21 +03:00
parent a1bb29a232
commit 0e57f7aaba
3 changed files with 3 additions and 27 deletions

View File

@@ -1,15 +1,5 @@
apiVersion: v1
kind: Secret
metadata:
name: mastodon-os
namespace: mastodon
type: Opaque
stringData:
username: mastodon
password: "2&ey0J8c1pHbu%kP"
---
apiVersion: v1
kind: Secret
metadata:
name: os-ca
namespace: mastodon

View File

@@ -8,10 +8,8 @@ spec:
version: "3.7.0"
serviceName: shared-os
setVMMaxMapCount: true
security:
config:
adminCredentialsSecret:
name: shared-os-admin-credentials
additionalConfig:
plugins.security.disabled: "true"
nodePools:
- component: nodes
replicas: 3
@@ -34,14 +32,3 @@ spec:
limits:
cpu: 500m
memory: 1Gi
probes:
readiness:
command:
- /bin/bash
- -c
- curl -k -u "$(cat /mnt/admin-credentials/username):$(cat /mnt/admin-credentials/password)" --silent --fail 'https://localhost:9200'
startup:
command:
- /bin/bash
- -c
- curl -k -u "$(cat /mnt/admin-credentials/username):$(cat /mnt/admin-credentials/password)" --silent --fail 'https://localhost:9200'