Skip to content

Commit

Permalink
Merge pull request #237 from gianlucam76/release-0.39
Browse files Browse the repository at this point in the history
Release v0.39.0: update tag
  • Loading branch information
gianlucam76 authored Oct 7, 2024
2 parents b9bd357 + 1969e0d commit d7cc3e3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARCH ?= amd64
OS ?= $(shell uname -s | tr A-Z a-z)
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
TAG ?= main
TAG ?= v0.39.0

.PHONY: all
all: build
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
- "--diagnostics-address=:8443"
- "--shard-key="
- "--v=5"
- "--version=main"
- "--version=v0.39.0"
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: docker.io/projectsveltos/healthcheck-manager:main
- image: docker.io/projectsveltos/healthcheck-manager:v0.39.0
name: manager
4 changes: 4 additions & 0 deletions controllers/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package controllers

import (
"context"
"errors"
"fmt"
"strings"

Expand Down Expand Up @@ -74,6 +75,9 @@ func sendNotification(ctx context.Context, c client.Client, clusterNamespace, cl
err = sendDiscordNotification(ctx, c, clusterNamespace, clusterName, clusterType, n, conditions, logger)
case libsveltosv1beta1.NotificationTypeTeams:
err = sendTeamsNotification(ctx, c, clusterNamespace, clusterName, clusterType, n, conditions, logger)
case libsveltosv1beta1.NotificationTypeSMTP:
// TODO: add support for SMTP notifications
err = errors.New("not suppoorted yet")
default:
logger.V(logs.LogInfo).Info("no handler registered for notification")
panic(1)
Expand Down
4 changes: 2 additions & 2 deletions manifest/deployment-shard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ spec:
- --diagnostics-address=:8443
- --shard-key={{.SHARD}}
- --v=5
- --version=main
- --version=v0.39.0
command:
- /manager
image: docker.io/projectsveltos/healthcheck-manager:main
image: docker.io/projectsveltos/healthcheck-manager:v0.39.0
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ spec:
- --diagnostics-address=:8443
- --shard-key=
- --v=5
- --version=main
- --version=v0.39.0
command:
- /manager
image: docker.io/projectsveltos/healthcheck-manager:main
image: docker.io/projectsveltos/healthcheck-manager:v0.39.0
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down

0 comments on commit d7cc3e3

Please sign in to comment.