Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ghost-not-in-the-shell/fbb4083433f984b0245bb0548dcb987c to your computer and use it in GitHub Desktop.
Save ghost-not-in-the-shell/fbb4083433f984b0245bb0548dcb987c to your computer and use it in GitHub Desktop.
value.yaml
deployment:
enabled: true
daemonset:
enabled: false
extraVolumeMounts:
- name: "pubsub-key"
mountPath: "/var/run/secret/cloud.google.com"
extraEnvs:
- name: "GOOGLE_APPLICATION_CREDENTIALS"
value: "/var/run/secret/cloud.google.com/pubsub-credentials.json"
extraVolumes:
- name: "pubsub-key"
secret:
secretName: "pubsub-key"
filebeatConfig:
filebeat.yml: |
filebeat.inputs:
- type: gcp-pubsub
project_id: o1labs-192920
topic: node-error-topic
subscription.name: node-error-su
credentials_file: /var/run/secret/cloud.google.com/pubsub-credentials.json
output.elasticsearch:
host: '${NODE_NAME}'
hosts: '${ELASTICSEARCH_HOSTS:elasticsearch-master:9200}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment