docs: create DevOps/Kubernetes/Helm/manifests/configmap-html
parent
56764dd9d4
commit
4a21f9f30a
|
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
title: configmap-html
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T15:28:08.083Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T15:28:08.083Z
|
||||
---
|
||||
|
||||
```yaml
|
||||
---
|
||||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: openresty-html
|
||||
data:
|
||||
index.html: |
|
||||
<html>
|
||||
<head>
|
||||
<title>Тестовая страница</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Тестовая страница</h1>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
50x.html: |
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
<title>Error</title>
|
||||
<style>
|
||||
body {
|
||||
width: 35em;
|
||||
margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>An error occurred.</h1>
|
||||
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
||||
Please try again later.</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
Loading…
Reference in New Issue