Completed upto lesson 28
This commit is contained in:
27
lab/lesson-16-fixture.yaml
Normal file
27
lab/lesson-16-fixture.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: ingress-drill
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: orders-tls
|
||||
namespace: ingress-drill
|
||||
type: kubernetes.io/tls
|
||||
stringData:
|
||||
tls.crt: placeholder-certificate-for-api-validation
|
||||
tls.key: placeholder-key-for-api-validation
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: orders
|
||||
namespace: ingress-drill
|
||||
spec:
|
||||
selector:
|
||||
app: orders
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
Reference in New Issue
Block a user