Skip to content

Commit

Permalink
add mkr on commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur1 committed Dec 21, 2023
1 parent 27a2b67 commit 13f9165
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions manifests/iot-monitor/mackerel-sesame/postsync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@ spec:
secretKeyRef:
name: mackerel-arthur-1
key: apikey
- name: ANNOTATION_FROM
value: $(date +%s)
- name: ANNOTATION_TO
value: $(date +%s)
command:
- "annotations"
- "create"
- "--title"
- "\"synced mackerel-sesame\""
- "--service"
- "iot-monitor"
- "--role"
- "mackerel-sesame"
- "--from"
- "\"$(date +%s)\""
- "--to"
- "\"$(date +%s)\""
- "sh"
- "-c"
- |
mkr annotations create -t \"synced mackerel-sesame\" \
-s iot-monitor -r mackerel-sesame \
--from ${ANNOTATION_FROM} --to ${ANNOTATION_TO}
restartPolicy: Never

0 comments on commit 13f9165

Please sign in to comment.