Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack username not included in message #58

Open
arvidgloot opened this issue Mar 10, 2020 · 2 comments
Open

Slack username not included in message #58

arvidgloot opened this issue Mar 10, 2020 · 2 comments

Comments

@arvidgloot
Copy link

With default config of fluxcloud, and the username env var set to something other than Flux, I can't see the username being changed in Slack channel. My env config:

- name: SLACK_USERNAME
  value: "Cool cluster"
- name: SLACK_URL
  value: "https://hooks.slack.com/services/XXXXXXXXX"
- name: SLACK_CHANNEL
  value: "#my-channel"
- name: SLACK_ICON_EMOJI
  value: ":sync:"
- name: GITHUB_URL
  value: "https://github.com/my-repo"
- name: LISTEN_ADDRESS
  value: ":3032"

Screenshot 2020-03-10 at 11 07 59

@arvidgloot
Copy link
Author

Or maybe even more important, how do I access the username in the templating created in #12?

@arvidgloot
Copy link
Author

@justinbarrick Slack username and icon is absolete nowadays, stated here:

You cannot override the default channel (chosen by the user who installed your app), username, or icon when you're using Incoming Webhooks to post messages. Instead, these values will always inherit from the associated Slack app configuration.

It would be nice to be able to access through the template though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant