File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ type ServiceConfig struct {
13
13
AssistedServiceName string `envconfig:"ASSISTED_SERVICE_NAME" default:"assisted-service"`
14
14
// AssistedServiceName is the namemespace of the assisted-service
15
15
AssistedInstallerNamespace string `envconfig:"ASSISTED_INSTALLER_NAMESPACE"`
16
- // Name and namespace of a configmap containing the CA bundle to trust when querying assisted-service
17
- AssistedCABundleNamespace string `envconfig:"ASSISTED_CA_BUNDLE_NAMESPACE"`
18
- AssistedCABundleName string `envconfig:"ASSISTED_CA_BUNDLE_NAME"`
19
- AssistedCABundleResource string `envconfig:"ASSISTED_CA_BUNDLE_RESOURCE" default:"configmap"`
16
+ // Namespace of the resource containing the CA bundle to trust when querying assisted-service
17
+ AssistedCABundleNamespace string `envconfig:"ASSISTED_CA_BUNDLE_NAMESPACE" default:"assisted-installer"`
18
+ // Name of the resource where the CA Bundle is stored
19
+ AssistedCABundleName string `envconfig:"ASSISTED_CA_BUNDLE_NAME" default:"assisted-installer-ca"`
20
+ // Resource kind where the CA bundle is stored. OpenShift will use a configmap, kubernetes a secret
21
+ AssistedCABundleResource string `envconfig:"ASSISTED_CA_BUNDLE_RESOURCE" default:"secret"`
20
22
// Key name to reference in the CA bundle configmap where the cert bundle is stored
21
- AssistedCABundleKey string `envconfig:"ASSISTED_CA_BUNDLE_KEY" default:"ca-bundle .crt"`
23
+ AssistedCABundleKey string `envconfig:"ASSISTED_CA_BUNDLE_KEY" default:"ca.crt"`
22
24
}
You can’t perform that action at this time.
0 commit comments