feature request: top level configuration

オープン
#206 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go, kubernetes

調査の方向性

InstanceSpec と、global および defaults セクションに対する additionalParameters の処理から始め、haproxy.cfg がどのようにレンダリングされるかを追跡します。HAProxy の userlist 設定を含む任意のトップレベルパラメータをどのように表現すべきかを判断し、既存のセクションを壊さずに生成された設定を検証します。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
31
フォーク
9
平均マージ
3日 20時間
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

six-group/haproxy-operator のほかの issue

six-group/haproxy-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。