Skip to content

Instantly share code, notes, and snippets.

@StefH
Last active October 24, 2018 06:57
Show Gist options
  • Save StefH/3211f019578e483d9db72ef0f34f9f91 to your computer and use it in GitHub Desktop.
Save StefH/3211f019578e483d9db72ef0f34f9f91 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: default-subdomain
spec:
selector:
name: wiremock
clusterIP: None
ports:
- port: 80
---
apiVersion: v1
kind: Pod
metadata:
name: wiremock-net
labels:
name: wiremock
spec:
hostname: wiremock-net
subdomain: default-subdomain
containers:
- image: index.docker.io/sheyenrath/wiremock.net:1.0.4.13
env:
- name: WIREMOCK_NET_VAR1
value: "Value 1"
name: wiremock-net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment