SLACK_API # and replace one in 2-secret.yml https://hooks.slack.com/services/######/###/## | base64 aHR0cHM6Ly9ob29rcy#####8jIw==(encoded string) vi ./2-secret.yml # MONGODB_URIも同様に行います # apply the change kubectl apply -f ./2-secret.yml # delete the pods using MONGODB_URI or SLACK_API to restart them kubectl delete pod -n mynamespace -l app=mynotifypod kubectl delete pod -n mynamespace -l run=myappsample