Skip to content

Commit 5db2f7e

Browse files
committed
Move ProxyId RuntimeLabel to annotations
1 parent 3451ae2 commit 5db2f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/eu/openanalytics/containerproxy/backend/AbstractContainerBackend.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ protected void doStartProxy(Proxy proxy) throws Exception {
151151
if (authBackend != null) authBackend.customizeContainer(spec);
152152

153153
// add labels need for App Recovery and maintenance
154-
spec.addRuntimeLabel(RUNTIME_LABEL_PROXY_ID, true, proxy.getId());
155154
spec.addRuntimeLabel(RUNTIME_LABEL_PROXIED_APP, true, "true");
156155
spec.addRuntimeLabel(RUNTIME_LABEL_INSTANCE, true, instanceId);
157156

157+
spec.addRuntimeLabel(RUNTIME_LABEL_PROXY_ID, false, proxy.getId());
158158
spec.addRuntimeLabel(RUNTIME_LABEL_PROXY_SPEC_ID, false, proxy.getSpec().getId());
159159
if (realmId != null) {
160160
spec.addRuntimeLabel(RUNTIME_LABEL_REALM_ID, false, realmId);

0 commit comments

Comments
 (0)