From 5e4d84816bfec4031090ad63dd5d23687df64c7d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 14 Jul 2021 09:51:47 +0200 Subject: [PATCH] c2 update and secret generation update --- k8s/c2/kubeadm.yaml | 4 ++-- tests/secret-generation-test.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 tests/secret-generation-test.yaml diff --git a/k8s/c2/kubeadm.yaml b/k8s/c2/kubeadm.yaml index 7dd8de2..21bcbbf 100644 --- a/k8s/c2/kubeadm.yaml +++ b/k8s/c2/kubeadm.yaml @@ -1,12 +1,12 @@ # kubeadm-config.yaml kind: ClusterConfiguration apiVersion: kubeadm.k8s.io/v1beta2 -kubernetesVersion: v1.21.1 +kubernetesVersion: v1.21.2 networking: dnsDomain: c2.k8s.ooo podSubnet: 2a0a:e5c0:13:e1::/64 serviceSubnet: 2a0a:e5c0:13:e2::/108 - +controlPlaneEndpoint: "api.c2.k8s.ooo:6443" --- kind: KubeletConfiguration apiVersion: kubelet.config.k8s.io/v1beta1 diff --git a/tests/secret-generation-test.yaml b/tests/secret-generation-test.yaml new file mode 100644 index 0000000..2eb80b9 --- /dev/null +++ b/tests/secret-generation-test.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Secret +metadata: + name: string-secret + annotations: + secret-generator.v1.mittwald.de/autogenerate: password