mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-29 19:20:05 +00:00
Oracle Migration Changes: - Create deploy/helm-chart/ directory structure (moved from maestro/) - Create deploy/helmfiles/ directory structure (moved from helmfiles/) - Update chart references in helmfiles from ../maestro to ../helm-chart - Update deploy-manually.yml from Azure AKS to Oracle OKE - Update validate-k8s.yml from Azure AKS to Oracle OKE - Replace Azure CLI with OCI CLI installation and configuration - Replace Azure authentication with OCI authentication using secrets - Replace az aks get-credentials with oci ce cluster create-kubeconfig - Update helmfile paths from helmfiles/ to deploy/helmfiles/ - Remove DockerHub integration (push_to_dockerhub input and related steps) - Change runner from [self-hosted, prd-azure] to [self-hosted, prd-oracle] - Add environment field for proper Oracle deployment environment handling - Add HOME environment variable for OCI CLI Affinity/Resources Standardization: - Add affinity configuration with name=general node selector in values.yaml - Update deployment template to use conditional affinity and resources blocks - Configure staging to disable both affinity and resources (null values) - Enable production to use affinity targeting name=general nodes - Enable production to use standard resource limits (100m-2000m CPU, 1500Mi-2Gi memory) This brings maestro into full compliance with Oracle migration requirements and implements the standardized affinity/resources pattern consistent with in-factory and duc.
41 lines
953 B
YAML
41 lines
953 B
YAML
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: prd-maestro
|
|
namespace: applications
|
|
labels:
|
|
app: maestro
|
|
spec:
|
|
refreshInterval: 1h
|
|
secretStoreRef:
|
|
name: secretsmanager-prd
|
|
kind: SecretStore
|
|
target:
|
|
name: prd-maestro
|
|
creationPolicy: Owner
|
|
data:
|
|
- secretKey: AWS_ACCESS_KEY_ID
|
|
remoteRef:
|
|
key: prd/microservices/aws_credentials/maestro
|
|
version: "AWSCURRENT"
|
|
property: AWS_ACCESS_KEY_ID
|
|
|
|
- secretKey: AWS_SECRET_ACCESS_KEY
|
|
remoteRef:
|
|
key: prd/microservices/aws_credentials/maestro
|
|
version: "AWSCURRENT"
|
|
property: AWS_SECRET_ACCESS_KEY
|
|
|
|
- secretKey: AWS_DEFAULT_REGION
|
|
remoteRef:
|
|
key: prd/microservices/aws_credentials/maestro
|
|
version: "AWSCURRENT"
|
|
property: AWS_DEFAULT_REGION
|
|
|
|
- secretKey: jwt_token
|
|
remoteRef:
|
|
key: {{ .Values.maestro.jwt_token_secret_id }}
|
|
version: "AWSCURRENT"
|
|
property: token
|
|
|