Skip to content

Commit

Permalink
Management port of mapping-service is used for probes
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed Aug 6, 2024
1 parent 7569ab6 commit 97b24b7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.25.0-alpha.7
VERSION ?= 0.25.0-alpha.9
# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
# To re-generate a bundle for other specific channels without changing the standard setup, you can:
Expand Down
8 changes: 4 additions & 4 deletions bundle/manifests/saas-operator.clusterserviceversion.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/3scale/saas-operator
newTag: v0.25.0-alpha.7
newTag: v0.25.0-alpha.9
20 changes: 14 additions & 6 deletions pkg/generators/mappingservice/config/publishing_strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ func DefaultPublishingStrategy() []service.ServiceDescriptor {
EndpointName: "HTTP",
Simple: &saasv1alpha1.Simple{ServiceType: util.Pointer(saasv1alpha1.ServiceTypeClusterIP)},
},
PortDefinitions: []corev1.ServicePort{{
Name: "mapping",
Protocol: corev1.ProtocolTCP,
Port: 80,
TargetPort: intstr.FromString("mapping"),
}},
PortDefinitions: []corev1.ServicePort{
{
Name: "mapping",
Protocol: corev1.ProtocolTCP,
Port: 80,
TargetPort: intstr.FromString("mapping"),
},
{
Name: "management",
Protocol: corev1.ProtocolTCP,
Port: 8090,
TargetPort: intstr.FromString("management"),
},
},
},
}
}
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package version

const (
version string = "v0.25.0-alpha.7"
version string = "v0.25.0-alpha.9"
)

// Current returns the current marin3r operator version
Expand Down

0 comments on commit 97b24b7

Please sign in to comment.