Skip to content

Commit

Permalink
Use internal hostname instead of relying on external name resolutio
Browse files Browse the repository at this point in the history
  • Loading branch information
SaaldjorMike committed Dec 13, 2024
1 parent 1bdab48 commit b79b12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/suite/resources/humioresources_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,7 @@ var _ = Describe("Humio Resources Controllers", func() {
},
}

expectedSecretValue := "https://hooks.slack.com/services/T00000000/B00000000/YYYYYYYYYYYYYYYYYYYYYYYY"
expectedSecretValue := fmt.Sprintf("https://%s/services/T00000000/B00000000/YYYYYYYYYYYYYYYYYYYYYYYY", testService1.Name)
secret := &corev1.Secret{
ObjectMeta: metav1.ObjectMeta{
Name: toCreateAction.Spec.SlackProperties.UrlSource.SecretKeyRef.LocalObjectReference.Name,
Expand Down Expand Up @@ -2361,7 +2361,7 @@ var _ = Describe("Humio Resources Controllers", func() {
Namespace: clusterKey.Namespace,
}

expectedSecretValue := "https://hooks.slack.com/services/T00000000/B00000000/YYYYYYYYYYYYYYYYYYYYYYYY"
expectedSecretValue := fmt.Sprintf("https://%s/services/T00000000/B00000000/YYYYYYYYYYYYYYYYYYYYYYYY", testService1.Name)
toCreateAction := &humiov1alpha1.HumioAction{
ObjectMeta: metav1.ObjectMeta{
Name: key.Name,
Expand Down

0 comments on commit b79b12d

Please sign in to comment.