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

Đang mở
#1,884 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes
Lĩnh vực
infrastructure

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
260
Fork
134
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của splunk/splunk-operator

Tất cả issue của splunk/splunk-operator

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.