From 1207dee299a0ba8ab9f7b1ab022061cf861ebec5 Mon Sep 17 00:00:00 2001 From: Olu Shiyanbade Date: Tue, 22 Nov 2022 11:10:58 +0000 Subject: [PATCH] fix lint errors --- .../templates/external-dns-rbac.yml | 2 +- nxrm-aws-resiliency/templates/fluent-bit.yaml | 6 +++--- nxrm-aws-resiliency/values.yaml | 17 +++++++---------- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/nxrm-aws-resiliency/templates/external-dns-rbac.yml b/nxrm-aws-resiliency/templates/external-dns-rbac.yml index 70edb95..c4a0d83 100644 --- a/nxrm-aws-resiliency/templates/external-dns-rbac.yml +++ b/nxrm-aws-resiliency/templates/external-dns-rbac.yml @@ -63,4 +63,4 @@ spec: - --txt-owner-id=external-dns env: - name: AWS_DEFAULT_REGION - value: {{ .Values.deployment.clusterRegion }} + value: {{ .Values.statefulset.clusterRegion }} diff --git a/nxrm-aws-resiliency/templates/fluent-bit.yaml b/nxrm-aws-resiliency/templates/fluent-bit.yaml index 7941d6c..83e50e3 100644 --- a/nxrm-aws-resiliency/templates/fluent-bit.yaml +++ b/nxrm-aws-resiliency/templates/fluent-bit.yaml @@ -39,12 +39,12 @@ metadata: name: fluent-bit-cluster-info namespace: {{ .Values.namespaces.cloudwatchNs }} data: - cluster.name: {{ .Values.deployment.clusterName }} + cluster.name: {{ .Values.statefulset.clusterName }} http.server: "On" http.port: "2020" read.head: "Off" read.tail: "On" - logs.region: {{ .Values.deployment.logsRegion }} + logs.region: {{ .Values.statefulset.logsRegion }} --- apiVersion: v1 kind: ConfigMap @@ -263,7 +263,7 @@ spec: spec: containers: - name: fluent-bit - image: amazon/aws-for-fluent-bit:{{ .Values.deployment.fluentBitVersion }} + image: amazon/aws-for-fluent-bit:{{ .Values.statefulset.fluentBitVersion }} imagePullPolicy: Always env: - name: AWS_REGION diff --git a/nxrm-aws-resiliency/values.yaml b/nxrm-aws-resiliency/values.yaml index 3849961..ef8ba36 100644 --- a/nxrm-aws-resiliency/values.yaml +++ b/nxrm-aws-resiliency/values.yaml @@ -6,9 +6,9 @@ namespaces: externaldns: domainFilter: example.com #your root domain e.g example.com awsZoneType: private # hosted zone to look at (valid values are public, private or no value for both) -deployment: +statefulset: clusterRegion: us-east-1 - name: nxrm.deployment + name: nxrm-statefulset clusterName: nxrm-nexus logsRegion: us-east-1 fluentBitVersion: 2.28.0 @@ -60,15 +60,12 @@ ingress: alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]' #comment out if you don't use docker repositories alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-1:0000000000000:certificate/00000000-1111-2222-3333-444444444444 # Comment out if you don't use docker repositories - The AWS Certificate Manager ARN for your HTTPS certificate external-dns.alpha.kubernetes.io/hostname: dockerrepo1.example.com, dockerrepo2.example.com, dockerrepo3.example.com # Add more docker subdomains using dockerrepoName.example.com othereise comment out if you don't use docker repositories -pv: - storage: 120Gi - volumeMode: Filesystem - accessModes: ReadWriteOnce - reclaimPolicy: Retain - path: /mnt +storageClass: zones: - zone1: us-east-1a - zone2: us-east-1b + zone1: zone1 + zone2: zone2 + zone3: zone3 + iopsPerGB: "10" pvc: accessModes: ReadWriteOnce storage: 100Gi