suite: test service
templates:
  - templates/service.yaml
tests:
  - it: should work
    set:
      service:
        type: ClusterIP
    asserts:
      - equal:
          path: spec.type
          value: ClusterIP
  - it: should render right if values given
    set:
      service:
        type: NodePort
        NodePort: 30200
    asserts:
      - equal:
          path: spec.type
          value: NodePort
  - it: should render right if values given
    set:
      service:
        type: LoadBalancer
    asserts:
      - equal:
          path: spec.type
          value: LoadBalancer
