six-group / six-group/haproxy-operator

feature request: top level configuration

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29
Forks
9
Avg merge
23h 55m
Merged PRs (30d)
16

Description

Hi !

First of all, thank you for providing and maintaining this operator, it works perfectly well in production.

I have a usecase that is not currently covered by this operator.
I want to add a small proxy for http basic auth, I decided to go with HAProxy, as it's well known for low ressources consumption.
I know that HAProxy support BasicAuth with userlist, but it need to be at the top level of haproxy.cfg.

In the InstanceSpec, I could not find anywhere to put a top level configuration (outside of defaults and global).
Also I don't see additionalParameters working correctly on both global and default configuration in InstanceSpec.

Having the possibility to add arbitrary parameter at the top level of configuration is, in my opinion, a good way for teams to quickly iterate using this operator, while developing more configuration in the operator's source code.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with InstanceSpec and the handling of additionalParameters for the global and defaults sections, then trace how haproxy.cfg is rendered. Determine how arbitrary top-level parameters, including HAProxy userlist configuration, should be represented and verify the generated configuration without breaking existing sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.