diff --git a/example/v1beta1/eks-cluster.yaml b/example/v1beta1/eks-cluster.yaml deleted file mode 100644 index 4474537e3..000000000 --- a/example/v1beta1/eks-cluster.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: eksctl.io/v1alpha5 -kind: ClusterConfig -metadata: - name: operator-testing - region: us-west-2 - version: "1.22" -managedNodeGroups: - - name: ng-1 - instanceType: t3a.medium - desiredCapacity: 3 - volumeSize: 30 - ssh: - allow: true - volumeType: gp3 -kubernetesNetworkConfig: - ipFamily: IPv4 -# ipFamily: IPv6 -addons: - - name: vpc-cni - - name: coredns - - name: kube-proxy - - name: aws-ebs-csi-driver - attachPolicyARNs: - - arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy -iam: - withOIDC: true diff --git a/example/v1beta1/volume_mount/redis-cluster.yaml b/example/v1beta1/volume_mount/redis-cluster.yaml index 1b74ee260..03bc513e9 100644 --- a/example/v1beta1/volume_mount/redis-cluster.yaml +++ b/example/v1beta1/volume_mount/redis-cluster.yaml @@ -43,11 +43,11 @@ spec: resources: requests: storage: 1Gi - volumemount: + volumeMount: volume: - name: example-config configMap: name: example-configmap - mount: + mountPath: - mountPath: /config name: example-config \ No newline at end of file diff --git a/example/v1beta1/volume_mount/redis-replication.yaml b/example/v1beta1/volume_mount/redis-replication.yaml index 58adea03a..974e969a0 100644 --- a/example/v1beta1/volume_mount/redis-replication.yaml +++ b/example/v1beta1/volume_mount/redis-replication.yaml @@ -40,11 +40,11 @@ spec: resources: requests: storage: 1Gi - volumemount: + volumeMount: volume: - name: example-config configMap: name: example-configmap - mount: + mountPath: - mountPath: /config name: example-config diff --git a/example/v1beta1/volume_mount/redis-standalone.yaml b/example/v1beta1/volume_mount/redis-standalone.yaml index 6d1a59f44..1ed44c0ae 100644 --- a/example/v1beta1/volume_mount/redis-standalone.yaml +++ b/example/v1beta1/volume_mount/redis-standalone.yaml @@ -39,11 +39,11 @@ spec: resources: requests: storage: 1Gi - volumemount: + volumeMount: volume: - name: example-config configMap: name: example-configmap - mount: + mountPath: - mountPath: /config name: example-config diff --git a/example/v1beta2/acl_config/cluster.yaml b/example/v1beta2/acl_config/cluster.yaml index 70671263f..71036b79d 100644 --- a/example/v1beta2/acl_config/cluster.yaml +++ b/example/v1beta2/acl_config/cluster.yaml @@ -27,7 +27,7 @@ spec: # - name: regcred acl: secret : - name: acl-secret + secretName: acl-secret redisExporter: enabled: true image: quay.io/opstree/redis-exporter:v1.44.0 diff --git a/example/v1beta2/acl_config/replication.yaml b/example/v1beta2/acl_config/replication.yaml index 8b53a5ae6..cb42e8345 100644 --- a/example/v1beta2/acl_config/replication.yaml +++ b/example/v1beta2/acl_config/replication.yaml @@ -27,7 +27,7 @@ spec: # - name: regcred acl: secret : - name: acl-secret + secretName: acl-secret redisExporter: enabled: false diff --git a/example/v1beta2/acl_config/standalone.yaml b/example/v1beta2/acl_config/standalone.yaml index f586f9727..9fbdcf6e8 100644 --- a/example/v1beta2/acl_config/standalone.yaml +++ b/example/v1beta2/acl_config/standalone.yaml @@ -23,7 +23,7 @@ spec: # - name: regcred acl: secret: - name: acl-secret + secretName: acl-secret redisExporter: enabled: false diff --git a/example/v1beta2/eks-cluster.yaml b/example/v1beta2/eks-cluster.yaml deleted file mode 100644 index 4474537e3..000000000 --- a/example/v1beta2/eks-cluster.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: eksctl.io/v1alpha5 -kind: ClusterConfig -metadata: - name: operator-testing - region: us-west-2 - version: "1.22" -managedNodeGroups: - - name: ng-1 - instanceType: t3a.medium - desiredCapacity: 3 - volumeSize: 30 - ssh: - allow: true - volumeType: gp3 -kubernetesNetworkConfig: - ipFamily: IPv4 -# ipFamily: IPv6 -addons: - - name: vpc-cni - - name: coredns - - name: kube-proxy - - name: aws-ebs-csi-driver - attachPolicyARNs: - - arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy -iam: - withOIDC: true diff --git a/example/v1beta2/external_service/cluster-svc.yaml b/example/v1beta2/external_service/cluster-svc.yaml index 8e68ca75f..dc5dd6020 100644 --- a/example/v1beta2/external_service/cluster-svc.yaml +++ b/example/v1beta2/external_service/cluster-svc.yaml @@ -8,7 +8,6 @@ metadata: role: leader name: redis-cluster-leaders spec: - clusterIP: 10.102.152.77 ports: - name: redis-client port: 6379 @@ -30,7 +29,6 @@ metadata: role: follower name: redis-cluster-followers spec: - clusterIP: 10.108.109.134 ports: - name: redis-client port: 6379 diff --git a/example/v1beta2/upgrade-strategy/replication.yaml b/example/v1beta2/upgrade-strategy/replication.yaml index 834b2e186..ae7678829 100644 --- a/example/v1beta2/upgrade-strategy/replication.yaml +++ b/example/v1beta2/upgrade-strategy/replication.yaml @@ -8,7 +8,6 @@ spec: kubernetesConfig: image: quay.io/opstree/redis:v7.0.12 imagePullPolicy: IfNotPresent - type: OnDelete # type: RollingUpdate podSecurityContext: runAsUser: 1000