Skip to content

Commit

Permalink
adds correct namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wiardvanrij committed Jun 8, 2021
1 parent 28ebeeb commit c30cd6a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions grafana-image/render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
app: image-render
name: image-render
namespace: monitoring
spec:
replicas: 1
selector:
Expand Down
2 changes: 1 addition & 1 deletion json_exporter/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ data:
bearer_token: <your-token>
kind: ConfigMap
metadata:
creationTimestamp: null
namespace: monitoring
name: json-config
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Get your Twitter API keys and edit `json_exporter/config.yaml` in fill in the be

The `scrape/scrapeconfig.yaml` should be applyed as a secret like:

```kubectl create secret generic additional-configs --from-file=scrapeconfig.yaml --dry-run=client -o yaml```
```kubectl create secret generic additional-configs -n monitoring --from-file=scrapeconfig.yaml --dry-run=client -o yaml```

Either remove the dry-run or use the output to apply this manually

Expand Down
1 change: 1 addition & 0 deletions scrape/scrapeconfigsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ data:
scrapeconfig.yaml: ICAtIGpvYl9uYW1lOiAnanNvbl9wcm9iZScKICAgIG1ldHJpY3NfcGF0aDogL3Byb2JlCiAgICByZWxhYmVsX2NvbmZpZ3M6CiAgICAtIHNvdXJjZV9sYWJlbHM6IFtfX2FkZHJlc3NfX10KICAgICAgdGFyZ2V0X2xhYmVsOiBfX3BhcmFtX3RhcmdldAogICAgICByZXBsYWNlbWVudDogImh0dHBzOi8vYXBpLnR3aXR0ZXIuY29tLzIvdXNlcnMvYnkvdXNlcm5hbWUvJDE/dXNlci5maWVsZHM9cHVibGljX21ldHJpY3MiCiAgICAtIHNvdXJjZV9sYWJlbHM6IFtfX2FkZHJlc3NfX10KICAgICAgdGFyZ2V0X2xhYmVsOiBpbnN0YW5jZQogICAgLSB0YXJnZXRfbGFiZWw6IF9fYWRkcmVzc19fCiAgICAgIHJlcGxhY2VtZW50OiAnanNvbi1leHBvcnRlci1kZXBsb3ltZW50Ojc5NzknCiAgICBzY3JhcGVfaW50ZXJ2YWw6IDUwcwogICAgc3RhdGljX2NvbmZpZ3M6CiAgICAtIHRhcmdldHM6CiAgICAgIC0gUmlqV2lhcmQKICAgICAgLSBob25nbGlsYWkKICAgICAgLSBQYXVsdXNUTQogICAgICAtIFRpbXZhbmRlS2VlcgogICAgICAtIEJyYW1LbGlua2VuYmVyZwogICAgICAtIERldk1vbk9wcwogIC0gam9iX25hbWU6ICdqc29uX2V4cG9ydGVyJwogICAgc3RhdGljX2NvbmZpZ3M6CiAgICAtIHRhcmdldHM6IFsnanNvbi1leHBvcnRlci1kZXBsb3ltZW50Ojc5NzknXQogICAg
kind: Secret
metadata:
namespace: monitoring
creationTimestamp: null
name: additional-configs

0 comments on commit c30cd6a

Please sign in to comment.