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