Skip to content

Commit 616cadc

Browse files
authored
Merge pull request #2023 from sathieu/patch-1
2 parents 88bae15 + 3bc523e commit 616cadc

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

controllers/object_controls.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ var rootUID = ptr.To(int64(0))
195195
// RepoConfigPathMap indicates standard OS specific paths for repository configuration files
196196
var RepoConfigPathMap = map[string]string{
197197
"centos": "/etc/yum.repos.d",
198+
"debian": "/etc/apt/sources.list.d",
198199
"ubuntu": "/etc/apt/sources.list.d",
199200
"rhcos": "/etc/yum.repos.d",
200201
"rhel": "/etc/yum.repos.d",
@@ -206,6 +207,7 @@ var RepoConfigPathMap = map[string]string{
206207
// https://access.redhat.com/documentation/en-us/openshift_container_platform/4.3/html/authentication/ocp-certificates#proxy-certificates_ocp-certificates
207208
var CertConfigPathMap = map[string]string{
208209
"centos": "/etc/pki/ca-trust/extracted/pem",
210+
"debian": "/usr/local/share/ca-certificates",
209211
"ubuntu": "/usr/local/share/ca-certificates",
210212
"rhcos": "/etc/pki/ca-trust/extracted/pem",
211213
"rhel": "/etc/pki/ca-trust/extracted/pem",

internal/state/driver_volumes.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import (
3333
// RepoConfigPathMap indicates standard OS specific paths for repository configuration files
3434
var RepoConfigPathMap = map[string]string{
3535
"centos": "/etc/yum.repos.d",
36+
"debian": "/etc/apt/sources.list.d",
3637
"ubuntu": "/etc/apt/sources.list.d",
3738
"rhcos": "/etc/yum.repos.d",
3839
"rhel": "/etc/yum.repos.d",
@@ -44,6 +45,7 @@ var RepoConfigPathMap = map[string]string{
4445
// https://access.redhat.com/documentation/en-us/openshift_container_platform/4.3/html/authentication/ocp-certificates#proxy-certificates_ocp-certificates
4546
var CertConfigPathMap = map[string]string{
4647
"centos": "/etc/pki/ca-trust/extracted/pem",
48+
"debian": "/usr/local/share/ca-certificates",
4749
"ubuntu": "/usr/local/share/ca-certificates",
4850
"rhcos": "/etc/pki/ca-trust/extracted/pem",
4951
"rhel": "/etc/pki/ca-trust/extracted/pem",

0 commit comments

Comments
 (0)