[Question] how to use x509 certificate manually without introducing cert-manager

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
documentation

調査の方向性

The issue asks whether etcd-operator can use manually provided x509 certificate files and where to find guidance, but names no repository files or tests. Start by reading the certificate configuration and deployment documentation; done means confirming whether this setup is supported and adding or pointing to clear instructions for configuring it.

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

説明

I'm new to this project and K8s, and I'd like to deploy my own etcd-operator in my K8s cluster.
I wonder that if I can use x509 certificate like kubeadm, for example:

[root@master manifests]# cat etcd.yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
kubeadm.kubernetes.io/etcd.advertise-client-urls: https://192.168.24.180:2379
creationTimestamp: null
labels:
component: etcd
tier: control-plane
name: etcd
namespace: kube-system
spec:
containers:
- command:
- etcd
- --advertise-client-urls=https://192.168.24.180:2379
- --cert-file=/etc/kubernetes/pki/etcd/server.crt
- --client-cert-auth=true
- --data-dir=/var/lib/etcd
- --experimental-initial-corrupt-check=true
- --experimental-watch-progress-notify-interval=5s
- --initial-advertise-peer-urls=https://192.168.24.180:2380
- --initial-cluster=master=https://192.168.24.180:2380
- --key-file=/etc/kubernetes/pki/etcd/server.key
- --listen-client-urls=https://127.0.0.1:2379,https://192.168.24.180:2379
- --listen-metrics-urls=http://127.0.0.1:2381
- --listen-peer-urls=https://192.168.24.180:2380
- --name=master
- --peer-cert-file=/etc/kubernetes/pki/etcd/peer.crt
- --peer-client-cert-auth=true
- --peer-key-file=/etc/kubernetes/pki/etcd/peer.key
- --peer-trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
- --snapshot-count=10000
- --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt

above is etcd static pod yaml which is generated by kubeadm, and we can see that cert-file, key-file, peer-cert-file... are wrote the path of certificate file.
I see that aenix-io/etcd-operator supports cert-manager, but I'd like to try the above form of introducing certificates, what can I do? and where can I find the relavant documents? Thank you very much!

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

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

cozystack/etcd-operator のほかの issue

cozystack/etcd-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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