Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ func acpInternalRule(namespace string) *sandboxpb.NetworkPolicyRule {
return &sandboxpb.NetworkPolicyRule{
Name: "acp-internal",
Endpoints: []*sandboxpb.NetworkEndpoint{
{Host: "ambient-control-plane." + namespace + ".svc", Port: 8080},
{Host: "ambient-control-plane." + namespace + ".svc.cluster.local", Port: 8080},
{Host: "ambient-api-server." + namespace + ".svc", Port: 8000},
{Host: "ambient-api-server." + namespace + ".svc.cluster.local", Port: 8000},
{Host: "ambient-api-server." + namespace + ".svc", Port: 9000},
{Host: "ambient-api-server." + namespace + ".svc.cluster.local", Port: 9000},
},
Binaries: []*sandboxpb.NetworkBinary{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: AMBIENT_GRPC_USE_TLS
value: "false"
- name: CP_TOKEN_URL
value: "http://ambient-control-plane.ambient-dev.svc:8080/token"
value: "http://ambient-control-plane.ambient-dev.svc.cluster.local:8080/token"
- name: OIDC_TOKEN_URL
value: "https://keycloak-ambient-keycloak.apps.rosa.hcmais01ue1.s9m2.p3.openshiftapps.com/realms/ambient-code/protocol/openid-connect/token"
- name: OIDC_CLIENT_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: AMBIENT_GRPC_USE_TLS
value: "false"
- name: CP_TOKEN_URL
value: "http://ambient-control-plane.ambient-api.svc:8080/token"
value: "http://ambient-control-plane.ambient-api.svc.cluster.local:8080/token"
- name: OIDC_TOKEN_URL
value: "https://keycloak-ambient-keycloak.apps.rosa.hcmais01ue1.s9m2.p3.openshiftapps.com/realms/ambient-code/protocol/openid-connect/token"
- name: OIDC_CLIENT_ID
Expand Down
2 changes: 1 addition & 1 deletion components/manifests/templates/template-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ objects:
- name: MCP_API_SERVER_URL
value: "http://ambient-api-server.${NAMESPACE}.svc:8000"
- name: CP_TOKEN_URL
value: "http://ambient-control-plane.${NAMESPACE}.svc:8080/token"
value: "http://ambient-control-plane.${NAMESPACE}.svc.cluster.local:8080/token"
- name: CP_RUNTIME_NAMESPACE
valueFrom:
fieldRef:
Expand Down
Loading