1 changed files with 24 additions and 0 deletions
			
			
		| @ -0,0 +1,24 @@ | |||
| apiVersion: batch/v1 | |||
| kind: Job | |||
| metadata: | |||
|   generateName: app-slack-notification- | |||
|   annotations: | |||
|     argocd.argoproj.io/hook: PostSync | |||
|     argocd.argoproj.io/hook-delete-policy: HookSucceeded | |||
| spec: | |||
|   template: | |||
|     spec: | |||
|       containers: | |||
|       - name: slack-notification | |||
|         image: curlimages/curl | |||
|         command: | |||
|           - "curl" | |||
|           - "-X" | |||
|           - "POST" | |||
|           - "-H" | |||
|           - "Content-type: application/json" | |||
|           - "--data" | |||
|           - "{\"text\": \"nemjuhuuu\"}" | |||
|           - "https://hooks.slack.com/services/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" | |||
|       restartPolicy: Never | |||
|   backoffLimit: 2 | |||
					Loading…
					
					
				
		Reference in new issue