# Jenkins-operator slack notification

**URL:** <https://community.jenkins.io/t/jenkins-operator-slack-notification/4176>\
**Category:** Jenkins Operator\
**Created:** [October 14, 2022, 9:00pm UTC](https://community.jenkins.io/t/jenkins-operator-slack-notification/4176 "2022-10-14T21:00:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ira1](https://avatars.discourse-cdn.com/v4/letter/i/7bcc69/32.png) [@Ira1](https://community.jenkins.io/u/Ira1)\
**Post date:** [October 14, 2022, 9:00pm UTC](https://community.jenkins.io/t/jenkins-operator-slack-notification/4176/1 "2022-10-14T21:00:41Z")

</div>

Hello, I am using by jenkins-operator 7.0.1. I defined the slack notification:  
1.  
notifications:

- level: info  
verbose: true  
name: ‘#channel\_name’  
slack:  
webHookURLSecretKeySelector:  
secret:  
name: jenkins-operator-notification-data  
key: url

1. Created the secret:  
kubectl create secret generic jenkins-operator-notification-data --from-literal=url=\<webhook\_url\>  
But still did not get the notification in my slack channel.  
Can you please assist me?  
Thanks,  
Irina Rozalio

---

<div class="post-metadata">

**Author:** ![brokenpip3](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/brokenpip3/32/3509_2.png) [@brokenpip3](https://community.jenkins.io/u/brokenpip3)\
**Post date:** [February 28, 2023, 10:36pm UTC](https://community.jenkins.io/t/jenkins-operator-slack-notification/4176/2 "2023-02-28T22:36:50Z")

</div>

Hi @Ira1 I think you missed to add the secret to `spec.groovyScripts.secret.name’ see [Customizing Jenkins | Jenkins Operator](https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/customizing-jenkins/)
