2023-05-13 16:09:23 +00:00
|
|
|
{{- if not .Values.seedData.existingConfigMap }}
|
2023-05-10 10:55:52 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: {{ .Release.Name }}-configmap
|
|
|
|
data:
|
2023-07-07 15:10:29 +00:00
|
|
|
index.html: |
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
|
|
|
|
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
|
|
|
<link rel="stylesheet" href="style.css" />
|
|
|
|
<title>JSON Server</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<div class="container">
|
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li class="title">
|
|
|
|
JSON Server
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<main>
|
|
|
|
<div class="container">
|
|
|
|
<h1>Congrats!</h1>
|
|
|
|
<p>
|
|
|
|
You're successfully running JSON Server
|
|
|
|
<br />
|
|
|
|
✧*。٩(ˊᗜˋ*)و✧*。
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div id="resources"></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
<div class="container">
|
|
|
|
<p>
|
|
|
|
Howdy mates!
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|
2023-05-10 10:55:52 +00:00
|
|
|
db.json: |
|
2023-05-13 16:09:23 +00:00
|
|
|
{{ include "common.tplvalues.render" ( dict "value" .Values.seedData.configInline "context" $) | indent 4 }}
|
2023-05-13 15:28:45 +00:00
|
|
|
{{- end -}}
|