Merge pull request #357 from paulfantom/no-configmap

examples: use Secret instead of ConfigMap
This commit is contained in:
David Newhall 2021-06-10 11:29:40 -07:00 committed by GitHub
commit 040ec73a46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -40,21 +40,21 @@ spec:
subPath: unifi-poller.conf
volumes:
- name: config-volume
configMap:
name: unifi-poller
secret:
secretName: unifi-poller
# Add Config Map for Unifi Poller
---
apiVersion: v1
kind: ConfigMap
kind: Secret
metadata:
name: unifi-poller
namespace: monitoring
labels:
app: unifi-poller
type: poller
data:
stringData:
unifi-poller.conf: |
[poller]
debug = false