Skip to content

Commit 5bb3b1d

Browse files
authored
Merge pull request #178 from xrstf/improve-tests
improve testing, fix examples for hostAliases
2 parents 5fe9df5 + 315bde7 commit 5bb3b1d

File tree

23 files changed

+127
-33
lines changed

23 files changed

+127
-33
lines changed

charts/api-syncagent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: api-syncagent
33
description: A Kubernetes agent to synchronize APIs and their objects between Kubernetes clusters and kcp.
44

55
# version information
6-
version: 0.4.4
6+
version: 0.4.5
77
appVersion: "v0.4.2"
88

99
# optional metadata
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
externalHostname: ci.kcp.io
2+
apiExportName: my-api
3+
kcpKubeconfig: kcp-kubeconfig
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
externalHostname: ci.kcp.io
2+
apiExportName: my-api
3+
kcpKubeconfig: kcp-kubeconfig
4+
5+
hostAliases:
6+
enabled: true
7+
values:
8+
- ip: "1.2.3.5"
9+
hostnames:
10+
- "mysvc.example.dev.local"

charts/api-syncagent/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ extraVolumeMounts: []
9191
hostAliases:
9292
enabled: false
9393
values:
94-
ip: ""
95-
hostnames: []
94+
- ip: ""
95+
hostnames: []

charts/cache/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: cache
33
description: A cache server for prototype of a multi-tenant Kubernetes control plane for workloads on many clusters
44

55
# version information
6-
version: 0.0.5
6+
version: 0.0.6
77
appVersion: "0.22.0"
88

99
# optional metadata

charts/cache/tests/default.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
cache:
2+
hostAliases:
3+
enabled: true
4+
values:
5+
- ip: "1.2.3.5"
6+
hostnames:
7+
- "mysvc.example.dev.local"

charts/cache/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ cache:
3030
hostAliases:
3131
enabled: false
3232
values:
33-
ip: ""
34-
hostnames: []
33+
- ip: ""
34+
hostnames: []
3535
securityContext:
3636
seccompProfile:
3737
type: RuntimeDefault
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

0 commit comments

Comments
 (0)