Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell committed Oct 5, 2023
1 parent c5c7be5 commit c52c394
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chart/templates/replicated-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: DISABLE_OUTBOUND_CONNECTIONS
value: {{ .Values.airgap | default "false" | quote }}
value: {{ .Values.isAirgap | default "false" | quote }}
- name: IS_HELM_MANAGED
value: "true"
- name: HELM_RELEASE_NAME
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ integration:
# enabled: false
mockData: ""

airgap: false
isAirgap: false

userAgent: ""
replicatedID: ""
Expand Down
4 changes: 2 additions & 2 deletions pkg/apiserver/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ func bootstrap(params APIServerParams) error {
if err != nil {
return backoff.Permanent(errors.Wrap(err, "failed to get license by id for integration license id"))
}
unverifiedLicense = l
if unverifiedLicense.Spec.LicenseType != "dev" {
if l.Spec.LicenseType != "dev" {
return errors.New("integration license must be a dev license")
}
unverifiedLicense = l
}

verifiedLicense, err := sdklicense.VerifySignature(unverifiedLicense)
Expand Down

0 comments on commit c52c394

Please sign in to comment.