Skip to content

Commit 0c3a6a4

Browse files
committed
application.yaml: add "notes" and description
Signed-off-by: Maël Valais <[email protected]>
1 parent 79646f3 commit 0c3a6a4

File tree

1 file changed

+70
-5
lines changed

1 file changed

+70
-5
lines changed

chart/jetstack-secure-gcm/templates/application.yaml

Lines changed: 70 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# See API doc:
2-
# https://github.com/kubernetes-sigs/application/blob/master/docs/api.md
1+
# See how application.yaml should be written at:
2+
# https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/blob/master/docs/building-deployer-helm.md
3+
#
4+
# Example:
5+
# https://github.com/GoogleCloudPlatform/click-to-deploy/blob/5c7523a/k8s/cassandra/chart/cassandra/templates/application.yaml
36
apiVersion: app.k8s.io/v1beta1
47
kind: Application
58
metadata:
@@ -14,7 +17,71 @@ metadata:
1417
spec:
1518
descriptor:
1619
type: Jetstack Secure Platform
17-
version: "1.1.0-gcm.5" # Must be the same as in the schema.yaml file.
20+
version: "{{ index .Values "cert-manager" "image" "tag" }}"
21+
description: >-
22+
Jetstack Secure Platform is an enterprise-grade machine identity
23+
automation for Kubernetes built on top of cert-manager.
24+
25+
### Support
26+
27+
Customers who have purchased this solution can file requests at
28+
<https://marketplace-support.jetstack.io/>. Community support for
29+
cert-manager is available to anyone through the **#cert-manager** channel
30+
on the [Kubernetes Slack](https://slack.k8s.io/).
31+
32+
### License agreement
33+
34+
The terms of services are available at <https://platform.jetstack.io/tos/>.
35+
maintainers:
36+
- name: Jetstack
37+
url: https://jetstack.io
38+
links:
39+
- description: "User Guide: Click-to-deploy installation"
40+
url: https://platform.jetstack.io/docs/google-cloud-marketplace#click-to-deploy-installation
41+
- description: "User Guide: CLI installation"
42+
url: https://platform.jetstack.io/docs/google-cloud-marketplace#cli-installation
43+
- description: Getting Started with cert-manager
44+
url: https://cert-manager.io/docs/usage/
45+
- description: Getting Started with the Jetstack Secure Platform
46+
url: https://platform.jetstack.io/docs
47+
info: []
48+
notes: |-
49+
### Create your first certificate
50+
51+
You can issue your first certificate with the following command:
52+
53+
```sh
54+
kubectl apply -f- <<EOF
55+
apiVersion: cert-manager.io/v1
56+
kind: Issuer
57+
metadata:
58+
name: example-selfsigned-issuer
59+
spec:
60+
selfSigned: {}
61+
---
62+
apiVersion: cert-manager.io/v1
63+
kind: Certificate
64+
metadata:
65+
name: example-cert
66+
spec:
67+
duration: 721h # very short time to live
68+
secretName: example-cert-tls
69+
commonName: example-cert
70+
dnsNames:
71+
- example.com
72+
issuerRef:
73+
name: example-selfsigned-issuer
74+
kind: Issuer
75+
EOF
76+
```
77+
78+
### Manage your certificates using the Jetstack Secure Platform dashboard
79+
80+
After having logged in to the dashboard at <https://platform.jetstack.io>,
81+
you will be able to add this cluster to the dashboard (see
82+
[instructions](https://platform.jetstack.io/docs/google-cloud-marketplace#step-2-log-into-the-jetstack-secure-dashboard))
83+
and to see the details of the above `example-cert` on the UI.
84+
addOwnerRef: true
1885
selector:
1986
matchLabels:
2087
# In order to display the components of the application (the
@@ -27,8 +94,6 @@ spec:
2794
# two instances of the application:
2895
app.kubernetes.io/name: "{{ .Chart.Name }}" # Will always be set to "jetstack-secure-gcm"
2996
app.kubernetes.io/instance: "{{ .Release.Name }}" # For example: "jetstack-secure-for-cert-mana-3"
30-
31-
addOwnerRef: true
3297
componentKinds:
3398
- group: ""
3499
kind: PersistentVolumeClaim

0 commit comments

Comments
 (0)