Skip to content

Commit 1058f02

Browse files
restore the default of disabling license key checks for now
but allow it to be overriden for customers who want to use license keys
1 parent 701cd56 commit 1058f02

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

misc/helm-charts/operator/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ spec:
5757
{{- if .Values.operator.args.enableInternalStatementLogging }}
5858
- "--enable-internal-statement-logging"
5959
{{- end }}
60+
{{- if not .Values.operator.args.enableLicenseKeyChecks }}
61+
- "--disable-license-key-checks"
62+
{{- end }}
6063

6164
{{/* AWS Configuration */}}
6265
{{- if eq .Values.operator.cloudProvider.type "aws" }}

misc/helm-charts/operator/tests/deployment_test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,21 @@ tests:
6464
storage.storageClass.name: ""
6565
asserts:
6666
- matchRegex:
67-
path: spec.template.spec.containers[0].args[12] # Index of the environmentd-cluster-replica-sizes argument
67+
path: spec.template.spec.containers[0].args[13] # Index of the environmentd-cluster-replica-sizes argument
6868
pattern: disk_limit":"0"
6969
- matchRegex:
70-
path: spec.template.spec.containers[0].args[12]
70+
path: spec.template.spec.containers[0].args[13]
7171
pattern: is_cc":true
7272

7373
- it: should have a cluster with disk limit to 1552MiB when storage class is configured
7474
set:
7575
storage.storageClass.name: "my-storage-class"
7676
asserts:
7777
- matchRegex:
78-
path: spec.template.spec.containers[0].args[12]
78+
path: spec.template.spec.containers[0].args[13]
7979
pattern: disk_limit":"1552MiB"
8080
- matchRegex:
81-
path: spec.template.spec.containers[0].args[12]
81+
path: spec.template.spec.containers[0].args[13]
8282
pattern: is_cc":true
8383

8484
- it: should configure for AWS provider correctly

0 commit comments

Comments
 (0)