From 9be68690a2e38b01ea7e1b1270abcf29c45fd579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=28=E2=95=AF=C2=B0=E2=96=A1=C2=B0=EF=BC=89=E2=95=AF?= =?UTF-8?q?=EF=B8=B5=20u=E1=B4=89=C7=9DssnH=20=C9=90=C9=9F=C9=90=CA=87soW?= Date: Tue, 30 Apr 2024 21:26:08 +0400 Subject: [PATCH] chore: update fileAssets documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW --- docs/cluster_spec.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/cluster_spec.md b/docs/cluster_spec.md index b8fdf14e75614..916eed2dd9758 100644 --- a/docs/cluster_spec.md +++ b/docs/cluster_spec.md @@ -424,6 +424,8 @@ spec: Read more about this here: https://kubernetes.io/docs/tasks/debug-application-cluster/audit/ +**Note**: As of kOps 1.26, ControlPlane is being used as a role for the master instances. Previously, the master role was Master. + ```yaml spec: kubeAPIServer: @@ -436,7 +438,7 @@ spec: - name: audit-policy-config path: /etc/kubernetes/audit/policy-config.yaml roles: - - Master + - ControlPlane content: | apiVersion: audit.k8s.io/v1 kind: Policy @@ -456,6 +458,8 @@ Example policy file can be found [here](https://raw.githubusercontent.com/kubern Webhook backend sends audit events to a remote API, which is assumed to be the same API as `kube-apiserver` exposes. +**Note**: As of kOps 1.26, ControlPlane is being used as a role for the master instances. Previously, the master role was Master. + ```yaml spec: kubeAPIServer: @@ -465,7 +469,7 @@ spec: - name: audit-webhook-config path: /etc/kubernetes/audit/webhook-config.yaml roles: - - Master + - ControlPlane content: | apiVersion: v1 kind: Config @@ -1141,8 +1145,8 @@ spec: - name: iptable-restore # Note if path is not specified, the default is /srv/kubernetes/assets/ path: /var/lib/iptables/rules-save - # Note if roles are not specified, the default is all roles - roles: [Master,Node,Bastion] # a list of roles to apply the asset to + # Note if roles are not specified, the default is all roles. As of kOps 1.26, ControlPlane is being used as a role for the master instances. Previously, the master role was Master. + roles: [ControlPlane,Node,Bastion] # a list of roles to apply the asset to content: | some file content ```