Commit f3b630e5 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

fix: deploy federation manager under oop chart

parent 1a9b714e
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -139,12 +139,12 @@ oeg:
      federationManagerHost: "http://federation-manager:8989/api/v1"

# ====================================================================
# Federation Manager — OWN NAMESPACE
# Federation Manager — in OOP namespace
# ====================================================================
federationManager:
  enabled: true
  global:
    namespace: federation-manager
    namespace: oop

  # --- MongoDB FOR FM (THIS WAS MISSING!)
  mongodb:
@@ -153,6 +153,7 @@ federationManager:
    image:
      repository: mongo
      tag: latest
      pullPolicy: IfNotPresent
    service:
      type: ClusterIP
      port: 27017
@@ -170,6 +171,8 @@ federationManager:
    admin:
      username: admin
      password: admin
    image:
      pullPolicy: IfNotPresent
    service:
      nodePort: ""

@@ -183,6 +186,12 @@ federationManager:
        port: "27017"
      partner_op:
        role: originating_op
    image:
      pullPolicy: IfNotPresent

  federationManager:
    image:
      pullPolicy: IfNotPresent

  openvpn:
    enabled: false
+2 −9
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
CHART_DIR="$REPO_ROOT/oop-platform-chart"

OOP_NS="oop"
FM_NS="federation-manager"
OOP_RELEASE="oop-platform"

echo "OOP Platform — Helm Deploy"
@@ -44,11 +43,7 @@ helm upgrade --install $OOP_RELEASE "$CHART_DIR" \
    --create-namespace \
    -f "$REPO_ROOT/environments/kind/values.yaml" \
    --set srm.srmcontroller.env.kubernetesMasterToken="$TOKEN" \
    --set federationManager.enabled=false

helm upgrade --install federation-manager "$CHART_DIR/charts/federation-manager" \
    -n $FM_NS \
    --create-namespace \
    --set federationManager.enabled=true \
    -f "$REPO_ROOT/environments/kind/values.fm.yaml"

echo ""
@@ -66,9 +61,7 @@ echo " Federation Manager: http://localhost:30989"
echo ""
echo "Useful commands:"
echo "   kubectl get pods -n $OOP_NS"
echo "   kubectl get pods -n $FM_NS"
echo "   kubectl logs -f deployment/srmcontroller -n $OOP_NS"
echo "   helm uninstall $OOP_RELEASE -n $OOP_NS          # Remove SRM + OEG"
echo "   helm uninstall federation-manager -n $FM_NS    # Remove Federation Manager"
echo "   helm uninstall $OOP_RELEASE -n $OOP_NS          # Remove all components"
echo "   kind delete cluster --name oop-cluster          # Tear down cluster"
echo ""