Commit 018856d
committed
Add centralized TLS configuration infrastructure
Add support for centralized TLS configuration derived from the
OpenShift APIServer TLS security profile. This enables Tekton
components to inherit cluster-wide TLS settings (minimum version,
cipher suites) via the TektonConfig CR.
Key changes:
- Watch the APIServer resource for TLS profile changes and enqueue
TektonConfig for reconciliation
- Add GetTLSProfileFromAPIServer and TLSEnvVarsFromProfile to extract
and convert TLS profiles to environment variables
- Add ResolveCentralTLSToEnvVars and InjectTLSEnvVars as reusable
helpers for component extensions
- Add EnableCentralTLSConfig flag in TektonConfig OpenShift platform
spec (opt-in, default false)
- Add GetPlatformData to the Extension interface for platform-specific
hash data (e.g., TLS config fingerprint)
- Add RBAC permissions for reading the APIServer resource
Note: curve preferences (CurvePreferences) are currently omitted and
default to Go's standard library values until openshift/api#2583 is
merged.
Assisted-by: Cursor1 parent 306d5ab commit 018856d
File tree
920 files changed
+209703
-0
lines changed- config/openshift/base
- docs
- pkg
- apis/operator/v1alpha1
- reconciler
- common
- kubernetes/tektonconfig
- openshift
- common
- manualapprovalgate
- openshiftpipelinesascode
- syncerservice
- tektonchain
- tektonconfig
- tektonhub
- tektonmulticlusterproxyaae
- tektonpipeline
- tektonpruner
- tektonresult
- tektonscheduler
- tektontrigger
- vendor
- github.com
- evanphx/json-patch
- ghodss/yaml
- imdario/mergo
- openshift
- api
- apiserver
- v1
- apps
- v1
- authorization
- v1
- build
- v1
- cloudnetwork
- v1
- config
- v1alpha1
- v1
- console
- helm
- v1beta1
- imageregistry
- v1
- image
- docker10
- dockerpre012
- v1
- kubecontrolplane
- v1
- legacyconfig/v1
- machine
- v1alpha1
- v1beta1
- v1
- monitoring
- v1
- networkoperator
- v1
- network
- v1alpha1
- v1
- oauth
- v1
- openshiftcontrolplane
- v1
- operatorcontrolplane
- v1alpha1
- operator
- v1alpha1
- v1
- osin
- v1
- pkg/serialization
- project
- v1
- quota
- v1
- route
- samples
- v1
- security
- servicecertsigner
- v1alpha1
- template
- v1
- user
- v1
- client-go/config
- applyconfigurations
- config
- v1alpha1
- v1
- internal
- clientset/versioned
- scheme
- typed/config
- v1alpha1
- v1
- informers/externalversions
- config
- v1alpha1
- v1
- internalinterfaces
- listers/config
- v1alpha1
- v1
- library-go
- pkg
- controller/factory
- crypto
- operator
- condition
- configobserver
- apiserver
- events
- management
- resourcesynccontroller
- resource
- resourceapply
- resourcehelper
- resourcemerge
- resourceread
- v1helpers
- prometheus/client_golang/prometheus/collectors
- robfig/cron
- k8s.io
- apiserver
- pkg/authentication/user
- api/admission/v1beta1
- component-base
- metrics
- legacyregistry
- prometheusextension
- version
- kube-aggregator
- pkg
- apis/apiregistration
- v1beta1
- v1
- client/clientset_generated/clientset
- scheme
- typed/apiregistration/v1
- sigs.k8s.io/kube-storage-version-migrator
- pkg
- apis/migration/v1alpha1
- clients/clientset
- scheme
- typed/migration/v1alpha1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
920 files changed
+209703
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
250 | 254 | | |
251 | 255 | | |
252 | 256 | | |
| 257 | + | |
253 | 258 | | |
254 | 259 | | |
255 | 260 | | |
| |||
316 | 321 | | |
317 | 322 | | |
318 | 323 | | |
| 324 | + | |
| 325 | + | |
319 | 326 | | |
320 | 327 | | |
| 328 | + | |
321 | 329 | | |
322 | 330 | | |
323 | 331 | | |
324 | 332 | | |
325 | 333 | | |
| 334 | + | |
326 | 335 | | |
327 | 336 | | |
328 | 337 | | |
| |||
0 commit comments