Skip to content

Support for SSL with internal etcd #701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
asusk7m550 opened this issue May 15, 2025 · 0 comments
Open

Support for SSL with internal etcd #701

asusk7m550 opened this issue May 15, 2025 · 0 comments
Labels

Comments

@asusk7m550
Copy link

Describe the Bug

When a new setup is created with manage_etcd is false, the puppet module will use kubeadm to setup a new etcd cluster with SSL. But it will not copy the SSL certificates in the correct path.

Expected Behavior

The SSL certificates which are defined, will be placed in the correct path.

Steps to Reproduce

Steps to reproduce the behavior:

class {'kubernetes':
  controller => true,
  
  # Certificate settings
  etcd_ca_key                       => "<etcd_ca_key>",
  etcd_ca_crt                       => "<etcd_ca_crt>",
  etcdclient_key                    => "<etcdclient_key>",
  etcdclient_crt                    => "<etcdclient_crt>",
  etcdserver_key                    => "<etcdserver_key>",
  etcdserver_crt                    => "<etcdserver_crt>",
  etcdpeer_key                      => "<etcdpeer_key>",
  etcdpeer_crt                      => "<etcdpeer_crt>",
  kubernetes_ca_key                 => "<kubernetes_ca_key>",
  kubernetes_ca_crt                 => "<kubernetes_ca_crt>",
  kubernetes_front_proxy_ca_crt     => "<kubernetes_front_proxy_ca_crt>",
  kubernetes_front_proxy_ca_key     => "<kubernetes_front_proxy_ca_key>",
  sa_pub                            => "<sa_pub>",
  sa_key                            => "<sa_key>",

  # ETCd settings
  manage_etcd                       => false,
  etcd_ip                           => $facts['networking']['ip'],
  etcd_peers                        => ['192.168.2.1', '192.168.2.2', '192.168.2.3'],
  etcd_initial_cluster              => "k8s-master01=https://192.168.2.1:2380,k8s-master02=https://192.168.2.2:2380,k8s-master03=https://192.168.2.3:2380"
}

Environment

  • Version: all versions
  • Platform: all platforms

Additional Context

@asusk7m550 asusk7m550 added the bug label May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant