-
Notifications
You must be signed in to change notification settings - Fork 519
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
Add legacyApp field for slack #125
Conversation
@@ -48,6 +48,9 @@ data: | |||
slack.client-id: "{{ .Values.slack.clientId }}" | |||
slack.client-secret: "{{ .Values.slack.clientSecret }}" | |||
slack.verification-token: "{{ .Values.slack.verificationToken }}" | |||
{{- if .Values.slack.legacyApp }} | |||
slack.legacy-app: "{{ .Values.slack.legacyApp }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !
From what I see it should be a "python" boolean, not a string. Have you tried the behaviour on your instance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tried it in an instance. You're right, it should be a boolean here. I'll fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you put # legacyApp: true
in the values
and then
{{- if .Values.slack.legacyApp }}
slack.legacy-app: True
{{- else }}
slack.legacy-app: False
That would make it easy to use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the good suggestions. fixed it.
@@ -192,6 +192,7 @@ slack: {} | |||
# clientId: | |||
# clientSecret: | |||
# verificationToken: | |||
# legacyApp: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put another comment to reference this issue ?
getsentry/sentry#19446
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's certainly better to be able to reference the issue.
Thanks! |
For the integration with the Slack App to work, need to configure
slack.legacy-app
.ref : getsentry/sentry#19446