You've already forked reposilite-charts
fix(gatewayAPI): add clientSettingsPolicy
This commit is contained in:
@@ -66,12 +66,6 @@ tests:
|
||||
set:
|
||||
gatewayAPI.enabled: true
|
||||
gatewayAPI.core.backendTLSConfig.enabled: true
|
||||
# gatewayAPI.core.backendTLSConfig.validation:
|
||||
# caCertificateRefs:
|
||||
# - group: ""
|
||||
# kind: Secret
|
||||
# name: reposilite-ca
|
||||
# hostname: reposilite.svc.cluster.local
|
||||
service.enabled: true
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
@@ -90,6 +84,31 @@ tests:
|
||||
- notExists:
|
||||
path: spec.validation.caCertificateRefs
|
||||
|
||||
- it: Render with custom annotations and labels
|
||||
set:
|
||||
gatewayAPI.enabled: true
|
||||
gatewayAPI.core.backendTLSConfig:
|
||||
enabled: true
|
||||
annotations:
|
||||
foo: bar
|
||||
labels:
|
||||
bar: foo
|
||||
service.enabled: true
|
||||
asserts:
|
||||
- equal:
|
||||
path: metadata.annotations
|
||||
value:
|
||||
foo: bar
|
||||
- equal:
|
||||
path: metadata.labels
|
||||
value:
|
||||
app.kubernetes.io/instance: reposilite-unittest
|
||||
app.kubernetes.io/name: reposilite
|
||||
app.kubernetes.io/version: 0.1.0
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
helm.sh/chart: reposilite-0.1.0
|
||||
bar: foo
|
||||
|
||||
- it: Render with custom validation
|
||||
set:
|
||||
gatewayAPI.enabled: true
|
||||
|
||||
Reference in New Issue
Block a user