diff --git a/chart/templates/replicated-deployment.yaml b/chart/templates/replicated-deployment.yaml index e091f7b6..a84a0f5b 100644 --- a/chart/templates/replicated-deployment.yaml +++ b/chart/templates/replicated-deployment.yaml @@ -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 diff --git a/chart/values.yaml.tmpl b/chart/values.yaml.tmpl index f5364880..9a8c6cf8 100644 --- a/chart/values.yaml.tmpl +++ b/chart/values.yaml.tmpl @@ -51,7 +51,7 @@ integration: # enabled: false mockData: "" -airgap: false +isAirgap: false userAgent: "" replicatedID: "" diff --git a/pkg/apiserver/bootstrap.go b/pkg/apiserver/bootstrap.go index 27ac2a14..d68147b5 100644 --- a/pkg/apiserver/bootstrap.go +++ b/pkg/apiserver/bootstrap.go @@ -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)