istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/security/fuzz/backends/tomcat/tomcat.yaml (about) 1 # Copyright Istio Authors 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 apiVersion: apps/v1 16 kind: Deployment 17 metadata: 18 name: tomcat 19 spec: 20 selector: 21 matchLabels: 22 app: tomcat 23 template: 24 metadata: 25 labels: 26 app: tomcat 27 spec: 28 containers: 29 - name: tomcat 30 image: gcr.io/istio-testing/fuzz_tomcat:0.1 31 ports: 32 - containerPort: 8080 33 --- 34 apiVersion: v1 35 kind: Service 36 metadata: 37 name: tomcat 38 labels: 39 app: tomcat 40 service: tomcat 41 spec: 42 ports: 43 - name: http 44 port: 8080 45 targetPort: 8080 46 selector: 47 app: tomcat