# Copyright BigchainDB GmbH and BigchainDB contributors # SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) # Code is Apache-2.0 and docs are CC-BY-4.0 # All secret data should be base64 encoded before embedding them in the Secret. # Short strings can be encoded using, e.g. # echo "secret string" | base64 -w 0 > secret.string.b64 # Files (e.g. certificates) can be encoded using, e.g. # cat cert.pem | base64 -w 0 > cert.pem.b64 # then copy the contents of cert.pem.b64 (for example) below. # Ref: https://kubernetes.io/docs/concepts/configuration/secret/ # Unused values can be set to "" apiVersion: v1 kind: Secret metadata: name: proxy-credentials namespace: default type: Opaque data: # app_id is the app id that the proxy adds to requests going to the backend app_id: "" # app_key is the app key that the proxy adds to requests going to the backend app_key: "" --- apiVersion: v1 kind: Secret metadata: name: proxy-https-certs namespace: default type: Opaque data: # Base64-encoded HTTPS private key cert.key: "" # Base64-encoded HTTPS certificate chain # starting with your primary SSL cert (e.g. your_domain.crt) # followed by all intermediate certs. # If cert is from DigiCert, download "Best format for nginx". cert.pem: "