mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
* Initial pass at openshift_process module. Render-only * fix sanity test * Add ability to create/delete resources rendered by template * fix sanity tests * add more tests and fix .env parser * Add more tests * Make multiline parsing work properly * Add test for creating templates * Template APIs require namespace to be provided whether or not the template exists * add docs * Update plugins/modules/openshift_process.py Co-authored-by: Timothy Appnel <tima@ansible.com> Co-authored-by: Timothy Appnel <tima@ansible.com>
35 lines
830 B
YAML
35 lines
830 B
YAML
---
|
|
apiVersion: template.openshift.io/v1
|
|
kind: Template
|
|
labels:
|
|
template: simple-example-test
|
|
message: |-
|
|
The following configmaps have been created in your project: ${NAME}.
|
|
metadata:
|
|
annotations:
|
|
description: A super basic template for testing
|
|
openshift.io/display-name: Super basic template
|
|
openshift.io/provider-display-name: Red Hat, Inc.
|
|
tags: quickstart,examples
|
|
name: simple-example
|
|
objects:
|
|
- apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
annotations:
|
|
description: Big example
|
|
name: ${NAME}
|
|
data:
|
|
content: "${CONTENT}"
|
|
parameters:
|
|
- description: The name assigned to the ConfigMap
|
|
displayName: Name
|
|
name: NAME
|
|
required: true
|
|
value: example
|
|
- description: The value for the content key of the configmap
|
|
displayName: Content
|
|
name: CONTENT
|
|
required: true
|
|
value: ''
|