Skip to content

Commit

Permalink
Set federated prometheus name
Browse files Browse the repository at this point in the history
This is needed to avoid conflict with internal prometheus service,
since we are running in the same cluster.

Issue: ZENKO-4876
  • Loading branch information
francoisferrand committed Sep 27, 2024
1 parent 10b5835 commit 9006547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/scripts/end2end/patch-coredns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ corefile="
rewrite name exact s3.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
rewrite name exact sts.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
rewrite name exact iam.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
rewrite name exact prom.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
rewrite name exact shell-ui.dr.zenko.local ingress-nginx-controller.ingress-nginx.svc.cluster.local
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
Expand Down
3 changes: 1 addition & 2 deletions tests/ctst/steps/pra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ async function installPRA(world: Zenko, sinkS3Endpoint = 'http://s3.zenko.local'
sourceS3Endpoint: 'http://s3.zenko.local',
sinkS3Endpoint,
prometheusService: world.parameters.PrometheusService,
// prometheusHostname: 'prom.dr.zenko.local', // could be any name, cert will be auto-generated
prometheusHostname: 'prom.dr.zenko.local',
prometheusExternalIpsDiscovery: true,
prometheusDisableTls: true,
forceRotateServiceCredentials: (CacheHelper.savedAcrossTests[Zenko.PRA_INSTALL_COUNT_KEY] as number) > 0,
...kafkaExternalIpOption,
timeout,
Expand Down

0 comments on commit 9006547

Please sign in to comment.