Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#419 from stuggi/tls_const
Browse files Browse the repository at this point in the history
[tls] add additional tls const
  • Loading branch information
Deydra71 authored Dec 18, 2023
2 parents 3e74094 + aa0e9f1 commit d24d9d0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/common/tls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,21 @@ import (
)

const (
// CABundleSecret -
CABundleSecret = "combined-ca-bundle"
// CABundleLabel added to the CA bundle secret for the namespace
CABundleLabel = "combined-ca-bundle"
// CABundleKey - key in CaBundleSecret holding a full CA bundle
CABundleKey = "tls-ca-bundle.pem"
// InternalCABundleKey - key in CABundleSecret only holding the internal CA
InternalCABundleKey = "internal-ca-bundle.pem"

// DefaultCAPrefix -
DefaultCAPrefix = "rootca-"
// DownstreamTLSCABundlePath -
DownstreamTLSCABundlePath = "/etc/pki/ca-trust/extracted/pem/" + CABundleKey
// UpstreamTLSCABundlePath -
UpstreamTLSCABundlePath = "/etc/ssl/certs/ca-certificates.crt"
)

// Service contains server-specific TLS secret
Expand Down

0 comments on commit d24d9d0

Please sign in to comment.