Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Release 14.0.1 (#929)
Browse files Browse the repository at this point in the history
* Release 14.0.1

* Changed mstreams encoding/decoding funcs to account for ServiceNow plugin changes
  • Loading branch information
fheinecke authored Sep 27, 2023
1 parent ec0d0c8 commit 68a52ad
Show file tree
Hide file tree
Showing 36 changed files with 105 additions and 97 deletions.
2 changes: 1 addition & 1 deletion access/discord/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
2 changes: 1 addition & 1 deletion access/email/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
2 changes: 1 addition & 1 deletion access/jira/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
2 changes: 1 addition & 1 deletion access/mattermost/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
2 changes: 1 addition & 1 deletion access/msteams/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
12 changes: 10 additions & 2 deletions access/msteams/plugindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ func DecodePluginData(dataMap map[string]string) (PluginData, error) {
data := PluginData{}
var errors []error

data.AccessRequestData = plugindata.DecodeAccessRequestData(dataMap)
accessRequestData, err := plugindata.DecodeAccessRequestData(dataMap)
if err != nil {
return data, trace.Wrap(err, "failed to decode access request data")
}
data.AccessRequestData = accessRequestData

if str := dataMap["messages"]; str != "" {
for _, encodedMsg := range strings.Split(str, ",") {
Expand Down Expand Up @@ -70,7 +74,11 @@ func DecodePluginData(dataMap map[string]string) (PluginData, error) {

// EncodePluginData serializes plugin data to a string map
func EncodePluginData(data PluginData) (map[string]string, error) {
result := plugindata.EncodeAccessRequestData(data.AccessRequestData)
result, err := plugindata.EncodeAccessRequestData(data.AccessRequestData)
if err != nil {
return nil, trace.Wrap(err, "failed to encode access request data")
}

var errors []error

var encodedMessages []string
Expand Down
2 changes: 1 addition & 1 deletion access/pagerduty/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
2 changes: 1 addition & 1 deletion access/slack/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=14.0.0
VERSION=14.0.1
GO_VERSION=1.21.1

BUILDDIR ?= build
Expand Down
6 changes: 3 additions & 3 deletions charts/access/discord/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "14.0.0"
version: "14.0.1"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
version: "14.0.0"
version: "14.0.1"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "14.0.0"
appVersion: "14.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ should match the snapshot:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-discord
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-discord-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-discord-14.0.1
name: RELEASE-NAME-teleport-plugin-discord
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ should match the snapshot:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-discord
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-discord-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-discord-14.0.1
name: RELEASE-NAME-teleport-plugin-discord
spec:
replicas: 1
Expand Down
4 changes: 2 additions & 2 deletions charts/access/email/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ description: A Helm chart for the Teleport Email Plugin
type: application

# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "14.0.0"
version: "14.0.1"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "14.0.0"
appVersion: "14.0.1"
24 changes: 12 additions & 12 deletions charts/access/email/tests/__snapshot__/configmap_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ should match the snapshot (mailgun on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
should match the snapshot (smtp on):
1: |
Expand Down Expand Up @@ -57,8 +57,8 @@ should match the snapshot (smtp on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
should match the snapshot (smtp on, no starttls):
1: |
Expand Down Expand Up @@ -89,8 +89,8 @@ should match the snapshot (smtp on, no starttls):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
should match the snapshot (smtp on, password file):
1: |
Expand Down Expand Up @@ -121,8 +121,8 @@ should match the snapshot (smtp on, password file):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
should match the snapshot (smtp on, roleToRecipients set):
1: |
Expand Down Expand Up @@ -156,8 +156,8 @@ should match the snapshot (smtp on, roleToRecipients set):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
should match the snapshot (smtp on, starttls disabled):
1: |
Expand Down Expand Up @@ -188,6 +188,6 @@ should match the snapshot (smtp on, starttls disabled):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
34 changes: 17 additions & 17 deletions charts/access/email/tests/__snapshot__/deployment_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ should be possible to override volume name (smtp on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
spec:
replicas: 1
Expand All @@ -31,7 +31,7 @@ should be possible to override volume name (smtp on):
env:
- name: TELEPORT_PLUGIN_FAIL_FAST
value: "true"
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.0
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.1
imagePullPolicy: IfNotPresent
name: teleport-plugin-email
ports:
Expand Down Expand Up @@ -73,8 +73,8 @@ should match the snapshot:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
spec:
replicas: 1
Expand Down Expand Up @@ -132,8 +132,8 @@ should match the snapshot (mailgun on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
spec:
replicas: 1
Expand All @@ -156,7 +156,7 @@ should match the snapshot (mailgun on):
env:
- name: TELEPORT_PLUGIN_FAIL_FAST
value: "true"
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.0
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.1
imagePullPolicy: IfNotPresent
name: teleport-plugin-email
ports:
Expand Down Expand Up @@ -198,8 +198,8 @@ should match the snapshot (smtp on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
spec:
replicas: 1
Expand All @@ -222,7 +222,7 @@ should match the snapshot (smtp on):
env:
- name: TELEPORT_PLUGIN_FAIL_FAST
value: "true"
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.0
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.1
imagePullPolicy: IfNotPresent
name: teleport-plugin-email
ports:
Expand Down Expand Up @@ -264,8 +264,8 @@ should mount external secret (mailgun on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
spec:
replicas: 1
Expand All @@ -288,7 +288,7 @@ should mount external secret (mailgun on):
env:
- name: TELEPORT_PLUGIN_FAIL_FAST
value: "true"
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.0
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.1
imagePullPolicy: IfNotPresent
name: teleport-plugin-email
ports:
Expand Down Expand Up @@ -330,8 +330,8 @@ should mount external secret (smtp on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-email
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-email-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-email-14.0.1
name: RELEASE-NAME-teleport-plugin-email
spec:
replicas: 1
Expand All @@ -354,7 +354,7 @@ should mount external secret (smtp on):
env:
- name: TELEPORT_PLUGIN_FAIL_FAST
value: "true"
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.0
image: public.ecr.aws/gravitational/teleport-plugin-email:14.0.1
imagePullPolicy: IfNotPresent
name: teleport-plugin-email
ports:
Expand Down
4 changes: 2 additions & 2 deletions charts/access/jira/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "14.0.0"
version: "14.0.1"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "14.0.0"
appVersion: "14.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ should match the snapshot (smtp on):
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-jira
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-jira-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-jira-14.0.1
name: RELEASE-NAME-teleport-plugin-jira
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ should match the snapshot:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-jira
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-jira-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-jira-14.0.1
name: RELEASE-NAME-teleport-plugin-jira
spec:
replicas: 1
Expand Down
4 changes: 2 additions & 2 deletions charts/access/mattermost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "14.0.0"
version: "14.0.1"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "14.0.0"
appVersion: "14.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ should match the snapshot:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: teleport-plugin-mattermost
app.kubernetes.io/version: 14.0.0
helm.sh/chart: teleport-plugin-mattermost-14.0.0
app.kubernetes.io/version: 14.0.1
helm.sh/chart: teleport-plugin-mattermost-14.0.1
name: RELEASE-NAME-teleport-plugin-mattermost
Loading

0 comments on commit 68a52ad

Please sign in to comment.