Skip to content

k8s Cluster Domain is hardcoded #197

@emouawad

Description

@emouawad

Describe the bug

Some kubernetes clusters don't use the default cluster.local suffix - but the operator doesn't allow setting custom cluster domains - this is needed for the operator to find and communicate with the other microservices.

Reference - where the domain is hardcoded
https://github.com/search?q=repo%3Amicrocks%2Fmicrocks-operator%20cluster.local&type=code

Image

Current cr:

apiVersion: microcks.io/v1alpha1
kind: Microcks
metadata:
  name: microcks
spec:
  version: 1.12.1
  commonExpositions:
    # type: NONE
    ingress:
      expose: false
  commonAnnotations:
    microcks.io/instance: microcks
  microcks:
    url: microcks.microcks.svc.intra
    logLevel: DEBUG
  keycloak:
    enabled: false
  mongodb:
    install: true
    securityContext:
      runAsUser: 999
      runAsGroup: 999
      fsGroup: 999
  features:
    async:
      enabled: false
    microcksHub:
      enabled: true
    repositoryFilter:
      enabled: false

Expected behavior

Allow k8s clusters with custom Cluster domain i.e not cluster.local

Actual behavior

No response

How to Reproduce?

No response

Microcks version or git rev

No response

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions