@@ -345,10 +345,10 @@ ImageStream backups involve a chain of components that work together to copy con
345345
346346#### 1. OpenShift Velero Plugin - ImageStream Backup
347347
348- - ** Backup** : [ ` openshift-velero-plugin/velero-plugins/imagestream/backup.go ` ] ( https://github.com/openshift/openshift-velero-plugin/blob/master /velero-plugins/imagestream/backup.go )
348+ - ** Backup** : [ ` openshift-velero-plugin/velero-plugins/imagestream/backup.go ` ] ( https://github.com/openshift/openshift-velero-plugin/blob/64292f953c3e2ecd623e9388b2a65c08bb9cfbe2 /velero-plugins/imagestream/backup.go )
349349 - Calls ` GetUdistributionTransportForLocation() ` to create udistribution transport
350350 - Passes transport to ` imagecopy.CopyLocalImageStreamImages() ` for image copying
351- - ** Shared Code** : [ ` openshift-velero-plugin/velero-plugins/imagestream/shared.go ` ] ( https://github.com/openshift/openshift-velero-plugin/blob/master /velero-plugins/imagestream/shared.go )
351+ - ** Shared Code** : [ ` openshift-velero-plugin/velero-plugins/imagestream/shared.go ` ] ( https://github.com/openshift/openshift-velero-plugin/blob/64292f953c3e2ecd623e9388b2a65c08bb9cfbe2 /velero-plugins/imagestream/shared.go )
352352 - ` GetRegistryEnvsForLocation() ` retrieves ** S3 storage driver parameters** from BSL and converts to env var strings
353353 - Storage driver parameters include: credentials, bucket, region, endpoint, etc.
354354 - ` GetUdistributionTransportForLocation() ` calls ` udistribution.NewTransportFromNewConfig(config, envs) `
@@ -357,10 +357,10 @@ ImageStream backups involve a chain of components that work together to copy con
357357
358358#### 2. udistribution Client Library
359359
360- - ** Transport Creation** : [ ` migtools/udistribution/pkg/image/udistribution/docker_transport.go ` ] ( https://github.com/migtools/udistribution/blob/main /pkg/image/udistribution/docker_transport.go )
360+ - ** Transport Creation** : [ ` migtools/udistribution/pkg/image/udistribution/docker_transport.go ` ] ( https://github.com/migtools/udistribution/blob/b66b049de13c44fdd6eb8e8deddcf96f2ac83329 /pkg/image/udistribution/docker_transport.go )
361361 - ` NewTransportFromNewConfig(config, envs) ` creates transport with client
362362 - Calls ` client.NewClient(config, envs) ` to initialize
363- - ** Client Initialization** : [ ` migtools/udistribution/pkg/client/client.go ` ] ( https://github.com/migtools/udistribution/blob/main /pkg/client/client.go )
363+ - ** Client Initialization** : [ ` migtools/udistribution/pkg/client/client.go ` ] ( https://github.com/migtools/udistribution/blob/b66b049de13c44fdd6eb8e8deddcf96f2ac83329 /pkg/client/client.go )
364364 - ` NewClient(config, envs) ` parses configuration using ` uconfiguration.ParseEnvironment(config, envs) `
365365 - Creates ` handlers.App ` which initializes storage drivers
366366 - ** Key point** : Environment variables in ` envs ` parameter are ** S3 storage driver parameters only**
@@ -370,15 +370,15 @@ ImageStream backups involve a chain of components that work together to copy con
370370
371371#### 3. Docker Distribution S3 Driver
372372
373- - ** S3 Driver** : [ ` openshift/docker-distribution/registry/storage/driver/s3-aws/s3.go:559 ` ] ( https://github.com/openshift/docker-distribution/blob/release-4.19 /registry/storage/driver/s3-aws/s3.go#L559 )
373+ - ** S3 Driver** : [ ` openshift/docker-distribution/registry/storage/driver/s3-aws/s3.go:559 ` ] ( https://github.com/openshift/docker-distribution/blob/ac5742e896d480763c85f9b65e3c331aa0613552 /registry/storage/driver/s3-aws/s3.go#L559 )
374374 - Creates AWS SDK session via ` session.NewSessionWithOptions(sessionOptions) `
375375 - AWS SDK v1 (` github.com/aws/aws-sdk-go v1.43.16 ` ) automatically reads environment variables during session initialization
376376 - The S3 driver itself does NOT directly read ` AWS_CA_BUNDLE ` - this is handled by the AWS SDK
377377- ** Session Creation** : AWS SDK's built-in environment variable loading includes ` AWS_CA_BUNDLE `
378378
379379#### 4. AWS SDK v1 Environment Configuration
380380
381- - ** Session Package** : [ ` aws-sdk-go/aws/session/env_config.go ` ] ( https://github.com/aws/aws-sdk-go/blob/main /aws/session/env_config.go )
381+ - ** Session Package** : [ ` aws-sdk-go/aws/session/env_config.go ` ] ( https://github.com/aws/aws-sdk-go/blob/070853e88d22854d2355c2543d0958a5f76ad407 /aws/session/env_config.go )
382382 - ` NewSessionWithOptions() ` automatically loads configuration from ** process environment variables** (via ` os.Getenv ` )
383383 - Reads ` AWS_CA_BUNDLE ` environment variable during session initialization
384384 - Loads custom CA certificates for TLS validation
0 commit comments