change type
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
```yaml
|
||||||
---
|
---
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -19,3 +20,5 @@ data:
|
|||||||
root /usr/local/openresty/nginx/html;
|
root /usr/local/openresty/nginx/html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
```
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
```yaml
|
||||||
---
|
---
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -35,4 +36,5 @@ data:
|
|||||||
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
||||||
Please try again later.</p>
|
Please try again later.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
```
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
```yaml
|
||||||
---
|
---
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@@ -58,3 +59,5 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: openresty-conf
|
name: openresty-conf
|
||||||
|
|
||||||
|
```
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
```yaml
|
||||||
---
|
---
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
@@ -17,4 +18,5 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: openresty
|
name: openresty
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
```
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: openresty
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: 80
|
|
||||||
selector:
|
|
||||||
k8s-app: openresty
|
|
||||||
Reference in New Issue
Block a user