aboutsummaryrefslogtreecommitdiffstats
path: root/dev-resources/deployment.yaml
blob: 876945465e0f1387eb2e64ffd6c415af5cefa404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: apps/v1
kind: Deployment
metadata:
  name: helm-client-validator
  namespace: onap
  labels:
    app: helm-client-validator
spec:
  replicas: 1
  selector:
    matchLabels:
      app: helm-client-validator
  template:
    metadata:
      labels:
        app: helm-client-validator
    spec:
      containers:
        - name: helm-client-validator
          imagePullPolicy: IfNotPresent
          image: onap/sdc-helm-validator:latest
          resources:
            requests:
              memory: "256Mi"
            limits:
              memory: "256Mi"


---
apiVersion: v1
kind: Service
metadata:
  name: helm-client-validator-service
  namespace: onap
  labels:
    app: helm-client-validator
spec:
  selector:
    app: helm-client-validator
  type: NodePort
  ports:
    - port: 8244
      targetPort: 8080
      nodePort: 32244