Skip to content

Commit 24bdd33

Browse files
committed
Fixup deployments
1 parent 764382e commit 24bdd33

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

.azure.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SENTRIUS_KEYCLOAK_VERSION=1.1.14
44
SENTRIUS_AGENT_VERSION=1.1.23
55
SENTRIUS_AI_AGENT_VERSION=1.1.4
66
LLMPROXY_VERSION=1.1.4
7-
LAUNCHER_VERSION=1.1.4
7+
LAUNCHER_VERSION=1.1.5
88
AGENTPROXY_VERSION=1.1.5
99
SSHPROXY_VERSION=1.1.4
1010
RDPPROXY_VERSION=1.1.4

agent-launcher/src/main/java/io/sentrius/agent/launcher/service/PodLauncherService.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,11 @@ public V1Pod launchAgentPod(AgentRegistrationDTO agent) throws Exception {
164164
if (agentRegistry != null) {
165165
if ("local".equalsIgnoreCase(agentRegistry)) {
166166
myAgentRegistry = "";
167-
} else if (!agentRegistry.endsWith("/")) {
168-
myAgentRegistry += "/";
167+
} else {
168+
myAgentRegistry = agentRegistry;
169+
if (!myAgentRegistry.endsWith("/")) {
170+
myAgentRegistry += "/";
171+
}
169172
}
170173
}
171174
String agentId = agent.getAgentName().toLowerCase();

ops-scripts/azure/deploy-helm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ helm upgrade --install sentrius-agents ./sentrius-chart-launcher --namespace ${T
499499
--set ssh.image.repository="${AZURE_REGISTRY}/sentrius-ssh" \
500500
--set ssh.image.pullPolicy="IfNotPresent" \
501501
--set ssh.image.tag=${SENTRIUS_SSH_VERSION} \
502-
--set sentriusaiagent.image.repository="${AZURE_REGISTRY}/sentrius-ai-agent" \
502+
--set sentriusaiagent.image.repository="${AZURE_REGISTRY}/" \
503503
--set sentriusaiagent.image.pullPolicy="IfNotPresent" \
504504
--set sentriusaiagent.image.tag=${SENTRIUS_AI_AGENT_VERSION} \
505505
--set launcherservice.image.repository="${AZURE_REGISTRY}/sentrius-launcher-service" \

sentrius-chart-launcher/templates/configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ data:
100100
spring.kafka.properties.metadata.max.age.ms=10000
101101
spring.kafka.properties.retry.backoff.ms=1000
102102
103-
sentrius.agent.registry=local
104-
sentrius.agent.registry.version=latest
103+
sentrius.agent.registry={{ .Values.sentriusaiagent.image.repository }}
104+
sentrius.agent.registry.version={{ .Values.sentriusaiagent.image.tag }}
105105
sentrius.agent.namespace={{ .Values.tenant }}
106106
agent.properties: |
107107
spring.main.web-application-type=servlet

sentrius-chart-launcher/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ sentriusagent:
101101
image:
102102
repository: sentrius-agent
103103
pullPolicy: IfNotPresent
104+
tag: latest
104105
port: 8080
105106
oauth2:
106107
client_id: java-agents
@@ -127,8 +128,9 @@ sentriusaiagent:
127128
type: NodePort
128129
nodePort: 30085
129130
image:
130-
repository: sentrius-ai-agent
131+
repository: sentrius-launchable-agent
131132
pullPolicy: IfNotPresent
133+
tag: latest
132134
port: 8080
133135
oauth2:
134136
client_id: java-agents

0 commit comments

Comments
 (0)