From 120d1dba4c49fa9f5dbb294e510d7be3cd83e8f5 Mon Sep 17 00:00:00 2001 From: Benjamin Schimke Date: Wed, 18 Dec 2024 14:14:17 +0100 Subject: [PATCH] Fix dualstack yaml intendation (#914) --- .../src/assets/how-to-dualstack-manifest.yaml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/src/assets/how-to-dualstack-manifest.yaml b/docs/src/assets/how-to-dualstack-manifest.yaml index f0e369784..fb15fa165 100644 --- a/docs/src/assets/how-to-dualstack-manifest.yaml +++ b/docs/src/assets/how-to-dualstack-manifest.yaml @@ -1,19 +1,19 @@ apiVersion: apps/v1 kind: Deployment metadata: -name: nginxdualstack + name: nginxdualstack spec: -selector: + selector: matchLabels: - run: nginxdualstack -replicas: 1 -template: + run: nginxdualstack + replicas: 1 + template: metadata: - labels: + labels: run: nginxdualstack spec: - containers: - - name: nginxdualstack + containers: + - name: nginxdualstack image: rocks.canonical.com/cdk/diverdane/nginxdualstack:1.0.0 ports: - containerPort: 80 @@ -21,17 +21,17 @@ template: apiVersion: v1 kind: Service metadata: -name: nginx-dualstack -labels: + name: nginx-dualstack + labels: run: nginxdualstack spec: -type: NodePort -ipFamilies: -- IPv4 -- IPv6 -ipFamilyPolicy: RequireDualStack -ports: -- port: 80 + type: NodePort + ipFamilies: + - IPv4 + - IPv6 + ipFamilyPolicy: RequireDualStack + ports: + - port: 80 protocol: TCP -selector: + selector: run: nginxdualstack