Splunk Operator: Certificate Management does not apply Splunk-managed roles

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

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, kubernetes

調査の方向性

Start by tracing Certificate Management for the certs entries in the Standalone custom resource and how each role is translated into Splunk configuration; the issue does not name implementation files or tests. Reproduce with the supplied manifest using server and input roles, then check whether Splunk configuration uses the mounted certificates. Done means the configured roles make Splunk use those certificates.

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

説明

Please select the type of request

Bug

Tell us more

Describe the request
The newly introduced Certificate Management does not actually set up any configuration within Splunk to actually use the mounted certificates, although option roles has been set.

Expected behavior

  • Certificates get created using the specified Issuer (works)
  • Certificate are mounted within the pod (works)
  • Splunk configuration is adjusted to use the certificates (doesn't work)

Splunk setup on K8S
SOK 3.2.0

Reproduction/Testing steps
Example deployment:

apiVersion: enterprise.splunk.com/v4
kind: Standalone
metadata:
  name: s1
  namespace: splunk-example-a
  finalizers:
  - enterprise.splunk.com/delete-pvc
spec:
  extraEnv:
    - name: TZ
      value: Europe/Berlin
  varVolumeStorageConfig:
    storageCapacity: 10Gi
  certs:
    - secretRef:
        name: s1-server-cert
      role: server
      issuerRef:
        name: cluster-ca-issuer
        kind: ClusterIssuer
    - secretRef:
        name: s1-input-cert
      role: input
      issuerRef:
        name: cluster-ca-issuer
        kind: ClusterIssuer

Initially, we had the following configuration in place. We removed it to make sure that this doesn't trigger the issue, but behaviour didn't change:

  defaults: |-
    splunk:
      http_enableSSL: true

K8s environment
k8s v1.36.4
Managed SKE Cluster on StackIT

主要言語
Go
スター
260
フォーク
134
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

splunk/splunk-operator のほかの issue

splunk/splunk-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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