Priority: MEDIUM
Description
The blue-green deployment script uses direct kubectl commands (kubectl patch, kubectl scale) which violates the ConfigHub-only deployment principle.
Impact
- Bypasses ConfigHub audit trail
- Creates drift between ConfigHub state and actual state
- Violates DevOps-as-Apps principles
Required Fix
Replace kubectl commands with ConfigHub operations:
# Instead of: kubectl patch service
cub unit update service-unit --patch --data '{...}'
# Instead of: kubectl scale deployment
cub unit update deployment-unit --patch --data '{"spec":{"replicas":3}}'
Acceptance Criteria
References
- DevOps-as-Apps requirement for ConfigHub-only
- Original finding in CODE-REVIEW.md
Priority: MEDIUM
Description
The blue-green deployment script uses direct kubectl commands (kubectl patch, kubectl scale) which violates the ConfigHub-only deployment principle.
Impact
Required Fix
Replace kubectl commands with ConfigHub operations:
Acceptance Criteria
References