Skip to content

Commit b263856

Browse files
committed
Commit missing changes
Signed-off-by: Evans Mungai <evans@replicated.com>
1 parent a8f86ba commit b263856

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

api/internal/handlers/linux/linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ func New(cfg types.APIConfig, opts ...Option) (*Handler, error) {
7676
install.WithTLSConfig(h.cfg.TLSConfig),
7777
install.WithLicense(h.cfg.License),
7878
install.WithAirgapBundle(h.cfg.AirgapBundle),
79+
install.WithAirgapInfo(h.cfg.AirgapInfo),
7980
install.WithConfigValues(h.cfg.ConfigValues),
8081
install.WithEndUserConfig(h.cfg.EndUserConfig),
8182
install.WithAllowIgnoreHostPreflights(h.cfg.AllowIgnoreHostPreflights),

api/types/api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
ecv1beta1 "github.com/replicatedhq/embedded-cluster/kinds/apis/v1beta1"
55
"github.com/replicatedhq/embedded-cluster/pkg/release"
66
"github.com/replicatedhq/embedded-cluster/pkg/runtimeconfig"
7+
kotsv1beta1 "github.com/replicatedhq/kotskinds/apis/kots/v1beta1"
78
)
89

910
// APIConfig holds the configuration for the API server
@@ -13,6 +14,7 @@ type APIConfig struct {
1314
TLSConfig TLSConfig
1415
License []byte
1516
AirgapBundle string
17+
AirgapInfo *kotsv1beta1.Airgap
1618
ConfigValues string
1719
ReleaseData *release.ReleaseData
1820
EndUserConfig *ecv1beta1.Config

0 commit comments

Comments
 (0)