Merged
Conversation
- New role: ocp4_workload_s4 deploys S4 (Super Simple Storage Service) via GitOps - S4 provides S3-compatible object storage using Ceph RADOS Gateway - Supports optional S3 bucket creation with configurable bucket list - Modified ocp4_workload_quay_operator to use S4 storage backend instead of Noobaa - Uses RadosGWStorage driver for internal Kubernetes service endpoint - Refactored S4 user info messages to use loop pattern for cleaner code - Updated GitOps role to use debug output (temporary for testing) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…lity - Add ocp4_workload_quay_operator_use_s4_storage boolean (default: false) - When false: preserves exact original Noobaa/OCS behavior from main branch - When true: enables new S4 storage backend functionality - Separate conditional code paths ensure zero impact on existing deployments - Restored original agnosticd_user_info calls for proper AgnosticD integration - Updated documentation to explain both storage backend options - No additional steps or overhead for default Noobaa usage This ensures existing workloads continue working without any changes while allowing users to opt-in to S4 storage by explicitly setting the boolean. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove testing changes to GitOps role - restore original agnosticd_user_info. This role is unchanged from main branch. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Config bundle will always be created fresh during new installations, no need to delete existing secret first. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Use fully qualified collection name for agnosticd_user_info module calls to ensure proper module resolution. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Renamed from ocp4_workload_quay_operator_use_s4_storage for better naming consistency with other enabled/disabled boolean variables. Updated in: - defaults/main.yml - tasks/workload.yml - templates/config.yaml.j2 - templates/quay_registry.yaml.j2 - readme.adoc Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Removed s4_credentials_secret.yaml.j2 template (unused) - S4 credentials are embedded directly in config bundle secret via config.yaml.j2 - Consolidated duplicate resource creation tasks into single unconditional task - Both Noobaa and S4 modes now create identical resources (namespace, config, registry) - Storage backend differentiation happens in config.yaml.j2 template based on s4_storage_enabled flag This simplifies the logic and removes unnecessary overhead. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Changed image tag from 'latest' to '0.3.2' for version pinning - Changed pull policy from 'Always' to 'IfNotPresent' (best practice for versioned images) - Ensures consistent deployments with specific S4 version Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Changed chart_revision from 'main' to 'v0.3.2' to match image tag - Ensures Helm chart and container image versions are aligned - Provides stable, versioned deployment Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Renamed ocp4_workload_s4_route_s3_enabled to ocp4_workload_s4_route_s3_api_enabled to make it clear this controls the S3 API route, not just any S3 route. Updated in: - defaults/main.yml - tasks/workload.yml - templates/application.yaml.j2 - readme.adoc Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Renamed ocp4_workload_s4_route_s3_host to ocp4_workload_s4_route_s3_api_host to match the naming convention of ocp4_workload_s4_route_s3_api_enabled. Updated in: - defaults/main.yml - templates/application.yaml.j2 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Renamed internal variables for clarity: - _ocp4_workload_s4_s3_endpoint_internal → _ocp4_workload_s4_s3_api_endpoint_internal - _ocp4_workload_s4_s3_endpoint_external → _ocp4_workload_s4_s3_api_endpoint_external Also renamed user data output fields: - s4_s3_endpoint_internal → s4_s3_api_endpoint_internal - s4_s3_endpoint_external → s4_s3_api_endpoint_external All S3-related variables now consistently include 'api' in their names. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Removed configurable variables and hard-coded values directly: - Application/Deployment waits: 60 retries, 10 second delay - Route waits: 30 retries, 5 second delay (already hard-coded) - Bucket job waits: 30 retries, 5 second delay (already hard-coded) Removed from defaults/main.yml: - ocp4_workload_s4_wait_retries - ocp4_workload_s4_wait_delay Kept ocp4_workload_s4_wait_for_deployment boolean flag to enable/disable waiting. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Renamed variables by removing redundant 'route_' prefix: - ocp4_workload_s4_route_s3_api_enabled → ocp4_workload_s4_s3_api_enabled - ocp4_workload_s4_route_s3_api_host → ocp4_workload_s4_s3_api_host These variables already clearly relate to S3 API functionality, so the 'route_' prefix adds unnecessary verbosity. The variables still control route creation for the S3 API. Updated in: - defaults/main.yml - tasks/workload.yml - templates/application.yaml.j2 - readme.adoc Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Author
|
Forcing merge as this is a new role and is unused |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.