insecure os
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user