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

Abierto
#292 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
Go
Estrellas
154
Forks
31
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cozystack/etcd-operator

Todos los issues de cozystack/etcd-operator

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.