# Example secret for notifier credentials # DO NOT commit actual secrets to version control # Use sealed-secrets, external-secrets, or vault in production apiVersion: v1 kind: Secret metadata: name: notifier-secrets labels: app: notifier type: Opaque stringData: # SMTP credentials smtp-username: "your-email@gmail.com" smtp-password: "your-app-password" # Slack webhook URL slack-webhook-url: "https://hooks.slack.com/services/YOUR/WEBHOOK/URL" # Ntfy token ntfy-token: "tk_your_token" # Kafka credentials (if using Kafka) kafka-username: "kafka-user" kafka-password: "kafka-password" --- # Example of using secrets in deployment # Add this to deployment.yaml under spec.template.spec.containers[0].env # - name: NOTIFIER_NOTIFIERS_SMTP_USERNAME # valueFrom: # secretKeyRef: # name: notifier-secrets # key: smtp-username # - name: NOTIFIER_NOTIFIERS_SMTP_PASSWORD # valueFrom: # secretKeyRef: # name: notifier-secrets # key: smtp-password # - name: NOTIFIER_NOTIFIERS_SLACK_WEBHOOK_URL # valueFrom: # secretKeyRef: # name: notifier-secrets # key: slack-webhook-url