We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8210a26 commit 6e717cfCopy full SHA for 6e717cf
samples/nginx-www/README.md
@@ -0,0 +1,26 @@
1
+# Nginx WWW Operator
2
+
3
+This is a more complex example of how a Custom Resource backed by an Operator can serve as
4
+an abstraction layer. This Operator will use an nginxwww resource, which mainly contains a
5
+static webpage definition and creates a nginx Deployment backed by a ConfigMap which holds
6
+the html.
7
8
+This is an example input:
9
+```yaml
10
+apiVersion: "sample.javaoperatorsdk/v1"
11
+kind: NginxWww
12
+metadata:
13
+ name: mynginx-hello
14
+spec:
15
+ html: |
16
+ <html>
17
+ <head>
18
+ <title>Nginx WWW Operator</title>
19
+ </head>
20
+ <body>
21
+ Hello World!!
22
+ </body>
23
+ </html>
24
+```
25
26
+The Operator will create
0 commit comments