mirror of
https://github.com/bvanroll/snippets.git
synced 2025-08-29 03:52:42 +00:00
snip
This commit is contained in:
@@ -10,3 +10,22 @@ spec:
|
||||
- name: _name
|
||||
image: _image
|
||||
endsnippet
|
||||
|
||||
snippet tpl_ing "ingress template" b
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: _name
|
||||
spec:
|
||||
rules:
|
||||
- host: "_hostname"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: _service
|
||||
port:
|
||||
number: _port
|
||||
endsnippet
|
||||
|
Reference in New Issue
Block a user