Files
devops-infra-helm-charts-gcp/helm-templates/bifrost/values-examples/semantic-cache-secret-example.yaml
T
2026-08-26 03:39:42 +05:30

29 lines
988 B
YAML

# Example Kubernetes Secret for Semantic Cache API Key
# This secret is referenced by production-ha.yaml
#
# IMPORTANT: Do not commit this file with real API keys to version control!
#
# Usage:
# 1. Replace 'YOUR_OPENAI_API_KEY' with your actual OpenAI API key
# 2. Apply the secret: kubectl apply -f semantic-cache-secret-example.yaml -n <namespace>
# 3. Deploy Bifrost with: helm install bifrost . -f values-examples/production-ha.yaml -n <namespace>
#
# Alternative: Create the secret using kubectl command:
# kubectl create secret generic bifrost-semantic-cache \
# --from-literal=openai-key=sk-YOUR_OPENAI_API_KEY \
# -n <namespace>
apiVersion: v1
kind: Secret
metadata:
name: bifrost-semantic-cache
namespace: default # Change this to your target namespace
labels:
app.kubernetes.io/name: bifrost
app.kubernetes.io/component: semantic-cache
type: Opaque
stringData:
# Replace with your actual OpenAI API key
openai-key: "sk-YOUR_OPENAI_API_KEY"