Skip to content

Commit 829509a

Browse files
author
jeho
authored
fix: cluster apiName validation (#446)
1 parent cfbf94b commit 829509a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

profiles/aws/env/cluster.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cluster:
22
apiName: FILL
3-
apiServer: FILL.eks.amazonaws.com
3+
apiServer: https://mycluster.otomi.io
44
domainSuffix: demo.eks.otomi.cloud
55
k8sVersion: '1.19'
66
name: demo

profiles/azure/env/cluster.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cluster:
22
apiName: FILL
3-
apiServer: FILL.aks.azure.com
3+
apiServer: https://mycluster.otomi.io
44
domainSuffix: demo.aks.otomi.cloud
55
k8sVersion: '1.19'
66
name: demo

profiles/google/env/cluster.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cluster:
22
apiName: FILL
3-
apiServer: FILL.gke.google.com
3+
apiServer: https://mycluster.otomi.io
44
domainSuffix: demo.gke.otomi.cloud
55
k8sVersion: '1.19'
66
name: demo

tests/fixtures/env/cluster.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cluster:
22
apiName: eks_otomi-cloud_eu-central-1_otomi-eks-demo
3-
apiServer: 5B31672F99FF867B3CB4D8E0831B6FE7.gr7.eu-central-1.eks.amazonaws.com
3+
apiServer: https://mycluster.otomi.io
44
domainSuffix: demo.eks.otomi.cloud
55
k8sVersion: '1.19'
66
name: demo

values-schema.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ definitions:
168168
type: string
169169
apiServer:
170170
description: Used by kubectl for local deployment to target cluster.
171-
type: string
171+
$ref: '#/definitions/url'
172172
domainSuffix:
173173
$ref: '#/definitions/domain'
174174
description: Domain suffix for the cluster. Also added to list of dns zones in the Otomi Console.

0 commit comments

Comments
 (0)