Skip to content

Configuration options for cluster-domain and kubernetes-endpoint in cozystack configmap. #168

Description

@kvaps

We have to provide an extra options for cozystack configmap, which can be optional:

cluster-domain: cozy.local
kubernetes-endpoint: https://192.168.123.11:6443

If they are specified, we have to consume them by installer.sh instead of hardcoded values:
https://github.com/aenix-io/cozystack/blob/838bee5d25bbe65a48f01e1de610298a4beb91cf/manifests/cozystack-installer.yaml#L73-L76

and also pass them for fluxcd and clilium values.

details:

Activity

  1. kvaps commented on Jun 17, 2024

    @kvaps
    MemberAuthor

    The cluster domain can also be extracted from resolv.conf using the following awk command:

    awk '$1 == "search" { sub(/^.*.svc./, "", $2); print $2 }' /etc/resolv.conf
    

    It might be possible to use this method to automate the configuration of the cluster domain for users.

    However, we need to consider the convenience of local development. All commands like make show, make diff, and make apply should also receive the correct settings.

  2. kvaps commented on Mar 25, 2025

    @kvaps
    MemberAuthor

    Fixed in #589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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