Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[feature request] Allow specifying namespace of Barman ObjectStore CR

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go, kubernetes, postgresql

調査の方向性

Cluster プラグインのパラメーターと ObjectStore カスタムリソース定義を確認し、現在 barmanObjectName がどのように解決されているかを理解します。実装前にクロスネームスペースの認可モデルを明確にします。完了とは、ネームスペースを安全に指定でき、アクセスを制限でき、関連するテストでその動作がカバーされていることを意味します。

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

説明

enhancement

Currently, the ObjectStore referenced in a Cluster has to be in the same namespace. It would be helpful to be able to specify a namespace where the ObjectStore should be fetched from.

This can have security implications and there should probably a mechanism to enable or disable the access from a different namespace. This could be a flag in the ObjectStore itself.

e.g.:

---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: test-cluster
  namespace: cluster-namespace
spec:
  instances: 3
  plugins:
    - name: barman-cloud.cloudnative-pg.io
      isWALArchiver: true
      parameters:
        barmanObjectName: s3-store
        barmanObjectNamespace: cnpg-system # Add the namespace here
---
apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
  name: s3-store
  namespace: cnpg-system
spec:
  configuration:
    destinationPath: <destination>
    endpointURL: <endpoint>
    s3Credentials: <s3Credentials>
    # Configure namespace access
    allowAccessFromNamespace: true
    # Maybe allow explicitly specifying the namespace(s):
    allowAccessFromNamespaces:
      - cluster-namespace
主要言語
Go
スター
198
フォーク
81
平均マージ
2日 6時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

cloudnative-pg/plugin-barman-cloud のほかの issue

cloudnative-pg/plugin-barman-cloud の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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