Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Allow source url rewriting #99

@benedikt-bartscher

Description

@benedikt-bartscher

Controller

  • KluctlDeployment

Who are you?

No response

What do you want to do?

I am using Gitlab Enterprise, where pricing is dependend from active seats. That's why i created a group access token for the flux-kluctl-controller. Group Access tokens only support http basic auth, no ssh key auth.

If i use git source urls for kluctl everything works fine on my local machine (automatic ssh key auth). If i use http source urls the flux-kluctl-controller works. However i see no way to keep both working with kluctls current apis.

Possible solutions:

  • Allow source url rewriting like contextOverride
  • Add http auth support to kluctl
  • Add k8s secret fetching support to kluctl (just use http auth with the cluster's secret)

Current (ugly) mitigation: I just use --local-git-group-override for all local kluctl commands. But this requires me to keep all those repos up2date on my machine.

Why do you need that?

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