Quellcode durchsuchen

Merge pull request #8545 from nak3/remove-imagestream-registry-console

Remove unused imagestream of registry-console
OpenShift Merge Robot vor 6 Jahren
Ursprung
Commit
7d7ada7702

+ 9 - 1
roles/openshift_hosted_templates/files/v3.10/enterprise/registry-console.yaml

@@ -17,6 +17,14 @@ objects:
     spec:
       triggers:
       - type: ConfigChange
+      - type: ImageChange
+        imageChangeParams:
+          automatic: true
+          containerNames:
+          - "registry-console"
+          from:
+            kind: ImageStreamTag
+            name: registry-console:${IMAGE_VERSION}
       replicas: 1
       selector:
         name: "registry-console"
@@ -27,7 +35,7 @@ objects:
         spec:
           containers:
             - name: registry-console
-              image: ${IMAGE_PREFIX}${IMAGE_BASENAME}:${IMAGE_VERSION}
+              image: ""
               ports:
                 - containerPort: 9090
                   protocol: TCP

+ 9 - 1
roles/openshift_hosted_templates/files/v3.10/origin/registry-console.yaml

@@ -17,6 +17,14 @@ objects:
     spec:
       triggers:
       - type: ConfigChange
+      - type: ImageChange
+        imageChangeParams:
+          automatic: true
+          containerNames:
+          - "registry-console"
+          from:
+            kind: ImageStreamTag
+            name: registry-console:${IMAGE_VERSION}
       replicas: 1
       selector:
         name: "registry-console"
@@ -27,7 +35,7 @@ objects:
         spec:
           containers:
             - name: registry-console
-              image: ${IMAGE_PREFIX}${IMAGE_BASENAME}:${IMAGE_VERSION}
+              image: ""
               ports:
                 - containerPort: 9090
                   protocol: TCP