Unverified Commit c13aa06b authored by Petr Drastil's avatar Petr Drastil Committed by GitHub

prefix secrets and configmaps with influxdb (#224)

parent 6c7bd270
# apiVersion: v1
# kind: Secret
# metadata:
# name: license
# name: influxdb-license
# stringData:
# json: YOUR JSON KEY
---
apiVersion: v1
kind: Secret
metadata:
name: auth
name: influxdb-auth
stringData:
username: admin
password: admin
......@@ -16,14 +16,15 @@ stringData:
apiVersion: v1
kind: Secret
metadata:
name: shared-secret
name: influxdb-shared-secret
stringData:
secret: MY RANDOM STRING
---
# apiVersion: v1
# kind: Secret
# metadata:
# name: tls
# name: influxdb-tls
# type: kubernetes.io/tls
# stringData:
# tls.crt: |
# SOME CERTIFICATE
......@@ -33,7 +34,7 @@ stringData:
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: ddl-dml
# name: influxdb-ddl-dml
# data:
# ddl: |
# CREATE DATABASE original
......
......@@ -13,7 +13,7 @@ license:
# when you ship to production.
# key: ""
# secret:
# name: license
# name: influxdb-license
# key: json
# A secret with keys "username" and "password" is required
......@@ -32,7 +32,7 @@ bootstrap:
# A secret should be provided, which will have the keys
# "username" and "password" available.
auth:
secretName: auth
secretName: influxdb-auth
# This section allows you to use DDL and DML to define
# databases, retention policies, and inject some data.
# When using the configMap setting, the keys "ddl" and "dml"
......@@ -40,7 +40,7 @@ bootstrap:
# DDL is executed before DML, to enforce databases and retention policies
# to exist.
ddldml: {}
# configMap: ddl-dml
# configMap: influxdb-ddl-dml
# resources: {}
......@@ -86,7 +86,7 @@ meta:
# Please see docs for shared-internal-secret:
# https://docs.influxdata.com/enterprise_influxdb/v1.8/administration/config-data-nodes/#meta-internal-shared-secret
sharedSecret:
secretName: shared-secret
secretName: influxdb-shared-secret
#
## Persist data to a persistent volume
##
......@@ -121,7 +121,7 @@ meta:
# You do not need to set the secret.name when using this flag.
useCertManager: true
secret:
name: tls-secret
name: influxdb-tls
# crt: tls.crt
# key: tls.key
# ca: ca.crt
......@@ -208,7 +208,7 @@ data:
# You do not need to set the secret.name when using this flag.
useCertManager: true
secret:
name: tls-secret
name: influxdb-tls
# crt: tls.crt
# key: tls.key
# ca: ca.crt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment