mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-08 08:21:19 -05:00
Update file test.yaml
This commit is contained in:
parent
7fb27fa5fb
commit
c4f5d35782
1 changed files with 41 additions and 0 deletions
41
durpapi/templates/test.yaml
Normal file
41
durpapi/templates/test.yaml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ .Chart.Name }}-service"
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: test
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: test
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
targetPort: 80
|
||||
clusterIP: None
|
||||
type: ClusterIP
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: test
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.130.2
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
protocol: TCP
|
||||
Loading…
Add table
Add a link
Reference in a new issue