fix yaml
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
apiVersion: serving.knative.dev/v1alpha1
 | 
					apiVersion: serving.knative.dev/v1alpha1
 | 
				
			||||||
kind: Service
 | 
					kind: Service
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: helloworld-go-sc-cc
 | 
					  name: helloworld-py-sc-cc
 | 
				
			||||||
  namespace: default
 | 
					  namespace: default
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
@@ -18,4 +18,7 @@ spec:
 | 
				
			|||||||
        autoscaling.knative.dev/maxScale: "100"
 | 
					        autoscaling.knative.dev/maxScale: "100"
 | 
				
			||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/hello-world-go
 | 
					        - image: tormachris/hello-world-py
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: "Go"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,3 +13,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/hello-world-go
 | 
					        - image: tormachris/hello-world-go
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: "Go"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,3 +19,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/hello-world-py
 | 
					        - image: tormachris/hello-world-py
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: "Py"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
apiVersion: serving.knative.dev/v1alpha1
 | 
					apiVersion: serving.knative.dev/v1alpha1
 | 
				
			||||||
kind: Service
 | 
					kind: Service
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: hello-world-py-sc
 | 
					  name: helloworld-py-sc
 | 
				
			||||||
  namespace: default
 | 
					  namespace: default
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
@@ -13,3 +13,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/hello-world-py
 | 
					        - image: tormachris/hello-world-py
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: "Go"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,3 +19,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/isprime-go
 | 
					        - image: tormachris/isprime-go
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: 107107
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,3 +13,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/isprime-go
 | 
					        - image: tormachris/isprime-go
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: 107107
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,3 +19,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/isprime-py
 | 
					        - image: tormachris/isprime-py
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: "Py"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,3 +13,6 @@ spec:
 | 
				
			|||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - image: tormachris/isprime-py
 | 
					        - image: tormachris/isprime-py
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: TARGET
 | 
				
			||||||
 | 
					              value: "Py"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,15 +1,13 @@
 | 
				
			|||||||
apiVersion: serving.knative.dev/v1alpha1
 | 
					apiVersion: serving.knative.dev/v1alpha1
 | 
				
			||||||
kind: Service
 | 
					kind: Service
 | 
				
			||||||
metadata:
 | 
					metadata:
 | 
				
			||||||
  name: helloworld-python
 | 
					  name: helloworld-py
 | 
				
			||||||
  namespace: default
 | 
					  namespace: default
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  template:
 | 
					  template:
 | 
				
			||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - 
 | 
					        - image: "tormachris/hello-world-py"
 | 
				
			||||||
          env:
 | 
					          env:
 | 
				
			||||||
            - 
 | 
					            - name: TARGET
 | 
				
			||||||
              name: TARGET
 | 
					              value: "Py"
 | 
				
			||||||
          image: "tormachris/hello-world-py"
 | 
					 | 
				
			||||||
          value: "Python"
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,9 +7,7 @@ spec:
 | 
				
			|||||||
  template:
 | 
					  template:
 | 
				
			||||||
    spec:
 | 
					    spec:
 | 
				
			||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - 
 | 
					        - image: "tormachris/isprime-py"
 | 
				
			||||||
          env:
 | 
					          env:
 | 
				
			||||||
            - 
 | 
					            - name: TARGET
 | 
				
			||||||
              name: TARGET
 | 
					              value: 107107
 | 
				
			||||||
          image: "tormachris/isprime-py"
 | 
					 | 
				
			||||||
          value: 107107
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user