cassandra changed
This commit is contained in:
parent
d4315fc47a
commit
91370edf2b
@ -18,7 +18,7 @@ dependencies:
|
|||||||
version: 2.x.x
|
version: 2.x.x
|
||||||
description: Apache Cassandra is an open source distributed database management system
|
description: Apache Cassandra is an open source distributed database management system
|
||||||
designed to handle large amounts of data across many servers, providing high availability
|
designed to handle large amounts of data across many servers, providing high availability
|
||||||
with no single point of failure.
|
with no single point of failure. And lets test it. Now.
|
||||||
home: https://bitnami.com
|
home: https://bitnami.com
|
||||||
icon: https://dyltqmyl993wv.cloudfront.net/assets/stacks/cassandra/img/cassandra-stack-220x234.png
|
icon: https://dyltqmyl993wv.cloudfront.net/assets/stacks/cassandra/img/cassandra-stack-220x234.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
43
cassandra/templates/vault-setup.yaml
Normal file
43
cassandra/templates/vault-setup.yaml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
name: vault-secrets-operator-controller-manager
|
||||||
|
---
|
||||||
|
apiVersion: secrets.hashicorp.com/v1beta1
|
||||||
|
kind: VaultConnection
|
||||||
|
metadata:
|
||||||
|
name: vault-connection
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
address: http://vault.vault.svc.cluster.local:8200
|
||||||
|
skipTLSVerify: true
|
||||||
|
---
|
||||||
|
apiVersion: secrets.hashicorp.com/v1beta1
|
||||||
|
kind: VaultAuth
|
||||||
|
metadata:
|
||||||
|
name: vault-auth
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
method: kubernetes
|
||||||
|
mount: kubernetes
|
||||||
|
kubernetes:
|
||||||
|
role: cassandra-role
|
||||||
|
serviceAccount: vault-secrets-operator-controller-manager
|
||||||
|
audiences:
|
||||||
|
- vault
|
||||||
|
---
|
||||||
|
apiVersion: secrets.hashicorp.com/v1beta1
|
||||||
|
kind: VaultStaticSecret
|
||||||
|
metadata:
|
||||||
|
name: cassandra-static-user-passwords
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
mount: kvv2
|
||||||
|
type: kv-v2
|
||||||
|
path: cassandra/config
|
||||||
|
refreshAfter: 5m
|
||||||
|
destination:
|
||||||
|
create: true
|
||||||
|
name: cassandra-static-user-passwords
|
||||||
|
vaultAuthRef: vault-auth
|
||||||
@ -134,7 +134,7 @@ dbUser:
|
|||||||
## keyMapping:
|
## keyMapping:
|
||||||
## cassandra-password: myCassandraPasswordKey
|
## cassandra-password: myCassandraPasswordKey
|
||||||
##
|
##
|
||||||
existingSecret: ""
|
existingSecret: "cassandra-static-user-passwords"
|
||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
## @param initDB Object with cql scripts. Useful for creating a keyspace and pre-populating data
|
## @param initDB Object with cql scripts. Useful for creating a keyspace and pre-populating data
|
||||||
##
|
##
|
||||||
@ -275,14 +275,7 @@ nodeAffinityPreset:
|
|||||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||||
## NOTE: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
## NOTE: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||||
##
|
##
|
||||||
affinity:
|
affinity: {}
|
||||||
podAntiAffinity:
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
- labelSelector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: cassandra
|
|
||||||
topologyKey: "kubernetes.io/hostname"## @param nodeSelector Node labels for pod assignment
|
|
||||||
|
|
||||||
## @param nodeSelector Node labels for pod assignment
|
## @param nodeSelector Node labels for pod assignment
|
||||||
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
||||||
##
|
##
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user