mirror of
https://github.com/Dannecron/netology-devops-gw-infra.git
synced 2025-12-25 23:32:35 +03:00
[stage-3] add helm chart for simple application
This commit is contained in:
12
k8s/helm/simple-app/templates/service.yaml
Normal file
12
k8s/helm/simple-app/templates/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-{{ .Values.environment }}-application
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
selector:
|
||||
app: {{ .Chart.Name }}-{{ .Values.environment }}
|
||||
service: application
|
||||
Reference in New Issue
Block a user