From 2f7774f5166527f2cc23df00b35c5a5f6f9e647f Mon Sep 17 00:00:00 2001 From: Shinebayar Gansukh <3091558+shinebayar-g@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:51:37 -0800 Subject: [PATCH] chore: update example --- examples/helm-example.yaml | 26 +++++++++---------- .../my-k8s-app/ConfigMap.my-config-map.yaml | 6 ++--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/helm-example.yaml b/examples/helm-example.yaml index b19aef3..cdf21fd 100644 --- a/examples/helm-example.yaml +++ b/examples/helm-example.yaml @@ -28,7 +28,7 @@ metadata: name: ingress-nginx-controller namespace: nginx data: - allow-snippet-annotations: 'false' + allow-snippet-annotations: "false" --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -43,7 +43,7 @@ metadata: name: ingress-nginx rules: - apiGroups: - - '' + - "" resources: - configmaps - endpoints @@ -62,13 +62,13 @@ rules: - list - watch - apiGroups: - - '' + - "" resources: - nodes verbs: - get - apiGroups: - - '' + - "" resources: - services verbs: @@ -84,7 +84,7 @@ rules: - list - watch - apiGroups: - - '' + - "" resources: - events verbs: @@ -148,13 +148,13 @@ metadata: namespace: nginx rules: - apiGroups: - - '' + - "" resources: - namespaces verbs: - get - apiGroups: - - '' + - "" resources: - configmaps - pods @@ -165,7 +165,7 @@ rules: - list - watch - apiGroups: - - '' + - "" resources: - services verbs: @@ -210,7 +210,7 @@ rules: verbs: - create - apiGroups: - - '' + - "" resources: - events verbs: @@ -620,7 +620,7 @@ metadata: app.kubernetes.io/component: admission-webhook rules: - apiGroups: - - '' + - "" resources: - secrets verbs: @@ -771,13 +771,13 @@ spec: kubernetes.io/os: linux --- apiVersion: v1 -data: - key1: value1 - key2: value2 kind: ConfigMap metadata: namespace: fooo name: my-config-map +data: + key1: value1 + key2: value2 --- apiVersion: apps/v1 kind: Deployment diff --git a/examples/my-k8s-app/ConfigMap.my-config-map.yaml b/examples/my-k8s-app/ConfigMap.my-config-map.yaml index c5cb00a..a7afca4 100644 --- a/examples/my-k8s-app/ConfigMap.my-config-map.yaml +++ b/examples/my-k8s-app/ConfigMap.my-config-map.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -data: - key1: value1 - key2: value2 kind: ConfigMap metadata: namespace: fooo name: my-config-map +data: + key1: value1 + key2: value2