Skip to content

Commit

Permalink
revved doc examples version
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanmelen committed Aug 6, 2022
1 parent 0ec3e05 commit ecf5efa
Show file tree
Hide file tree
Showing 22 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Similar to the [values file for Helm](https://helm.sh/docs/chart_template_guide/
```hcl
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
namespace = var.namespace
Expand Down
16 changes: 8 additions & 8 deletions bin/render-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# render terraform-docs code examples

## examples
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/confluent_operator"\n version = ">= 0.8.0"\n/g' examples/confluent_operator/main.tf > examples/confluent_operator/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.8.0"\n/g' examples/confluent_platform/main.tf > examples/confluent_platform/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.8.0"\n/g' examples/confluent_platform_singlenode/main.tf > examples/confluent_platform_singlenode/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.8.0"/1' examples/complete/main.tf > examples/complete/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.8.0"\n/g' examples/autogenerated_tls_only/main.tf > examples/autogenerated_tls_only/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/kafka_topic"\n version = ">= 0.8.0"/g' examples/kafka_topic/main.tf > examples/kafka_topic/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/schema"\n version = ">= 0.8.0"\n/g' examples/schema/main.tf > examples/schema/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/connector"\n version = ">= 0.8.0"/1' examples/connector/main.tf > examples/connector/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/confluent_operator"\n version = ">= 0.9.0"\n/g' examples/confluent_operator/main.tf > examples/confluent_operator/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.9.0"\n/g' examples/confluent_platform/main.tf > examples/confluent_platform/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.9.0"\n/g' examples/confluent_platform_singlenode/main.tf > examples/confluent_platform_singlenode/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.9.0"/1' examples/complete/main.tf > examples/complete/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes"\n version = ">= 0.9.0"\n/g' examples/autogenerated_tls_only/main.tf > examples/autogenerated_tls_only/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/kafka_topic"\n version = ">= 0.9.0"/g' examples/kafka_topic/main.tf > examples/kafka_topic/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/schema"\n version = ">= 0.9.0"\n/g' examples/schema/main.tf > examples/schema/.main.tf.docs
sed -z 's/source[^\r\n]*/source = "aidanmelen\/confluent-platform\/kubernetes\/\/modules\/connector"\n version = ">= 0.9.0"/1' examples/connector/main.tf > examples/connector/.main.tf.docs

# render Makefile targets examples
make > .make.docs
Expand Down
2 changes: 1 addition & 1 deletion examples/autogenerated_tls_only/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

namespace = var.namespace

Expand Down
2 changes: 1 addition & 1 deletion examples/autogenerated_tls_only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This example assumes you have a Kubernetes cluster running locally on Docker Des
```hcl
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
namespace = var.namespace
Expand Down
2 changes: 1 addition & 1 deletion examples/complete/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

namespace = var.namespace

Expand Down
2 changes: 1 addition & 1 deletion examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ kubectl apply -f ./crds/2.4.0
```hcl
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
namespace = var.namespace
Expand Down
2 changes: 1 addition & 1 deletion examples/confluent_operator/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "confluent_operator" {
source = "aidanmelen/confluent-platform/kubernetes//modules/confluent_operator"
version = ">= 0.8.0"
version = ">= 0.9.0"

create_namespace = true
namespace = "confluent"
Expand Down
2 changes: 1 addition & 1 deletion examples/confluent_operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This example assumes you have a Kubernetes cluster running locally on Docker Des
```hcl
module "confluent_operator" {
source = "aidanmelen/confluent-platform/kubernetes//modules/confluent_operator"
version = ">= 0.8.0"
version = ">= 0.9.0"
create_namespace = true
namespace = "confluent"
Expand Down
2 changes: 1 addition & 1 deletion examples/confluent_platform/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

namespace = var.namespace

Expand Down
2 changes: 1 addition & 1 deletion examples/confluent_platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Release the [Confluent Operator example](https://github.com/aidanmelen/terraform
```hcl
module "confluent_platform" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
namespace = var.namespace
Expand Down
16 changes: 8 additions & 8 deletions examples/confluent_platform_singlenode/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "confluent_platform_singlenode" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

namespace = var.namespace

Expand All @@ -14,7 +14,7 @@ module "confluent_platform_singlenode" {
replicas: 1
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 100m
Expand Down Expand Up @@ -43,7 +43,7 @@ module "confluent_platform_singlenode" {
- "password.encoder.secret=secret"
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 200m
Expand All @@ -67,7 +67,7 @@ module "confluent_platform_singlenode" {
- "status.storage.replication.factor=1"
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 100m
Expand All @@ -93,7 +93,7 @@ module "confluent_platform_singlenode" {
url: http://schemaregistry.${var.namespace}.svc.cluster.local:8081
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 100m
Expand Down Expand Up @@ -123,7 +123,7 @@ module "confluent_platform_singlenode" {
- "confluent.controlcenter.internal.topics.replication=1"
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 500m
Expand Down Expand Up @@ -154,7 +154,7 @@ module "confluent_platform_singlenode" {
replicas: 1
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 100m
Expand All @@ -174,7 +174,7 @@ module "confluent_platform_singlenode" {
url: http://schemaregistry.${var.namespace}.svc.cluster.local:8081
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"

requests:
cpu: 100m
Expand Down
16 changes: 8 additions & 8 deletions examples/confluent_platform_singlenode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Release the [Confluent Operator example](https://github.com/aidanmelen/terraform
```hcl
module "confluent_platform_singlenode" {
source = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
namespace = var.namespace
Expand All @@ -32,7 +32,7 @@ module "confluent_platform_singlenode" {
replicas: 1
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 100m
Expand Down Expand Up @@ -61,7 +61,7 @@ module "confluent_platform_singlenode" {
- "password.encoder.secret=secret"
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 200m
Expand All @@ -85,7 +85,7 @@ module "confluent_platform_singlenode" {
- "status.storage.replication.factor=1"
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 100m
Expand All @@ -111,7 +111,7 @@ module "confluent_platform_singlenode" {
url: http://schemaregistry.${var.namespace}.svc.cluster.local:8081
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 100m
Expand Down Expand Up @@ -141,7 +141,7 @@ module "confluent_platform_singlenode" {
- "confluent.controlcenter.internal.topics.replication=1"
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 500m
Expand Down Expand Up @@ -172,7 +172,7 @@ module "confluent_platform_singlenode" {
replicas: 1
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 100m
Expand All @@ -192,7 +192,7 @@ module "confluent_platform_singlenode" {
url: http://schemaregistry.${var.namespace}.svc.cluster.local:8081
podTemplate:
resource = "aidanmelen/confluent-platform/kubernetes"
version = ">= 0.8.0"
version = ">= 0.9.0"
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion examples/connector/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "connector" {
source = "aidanmelen/confluent-platform/kubernetes//modules/connector"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]

name = "my-connector"
Expand Down
2 changes: 1 addition & 1 deletion examples/connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This example assumes you have a Kubernetes cluster running locally on Docker Des
```hcl
module "connector" {
source = "aidanmelen/confluent-platform/kubernetes//modules/connector"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]
name = "my-connector"
Expand Down
4 changes: 2 additions & 2 deletions examples/kafka_topic/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "kafka_topic" {
source = "aidanmelen/confluent-platform/kubernetes//modules/kafka_topic"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]

name = "my-topic"
Expand All @@ -9,7 +9,7 @@ module "kafka_topic" {

module "other_kafka_topic" {
source = "aidanmelen/confluent-platform/kubernetes//modules/kafka_topic"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]

name = "my-other-topic"
Expand Down
4 changes: 2 additions & 2 deletions examples/kafka_topic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This example assumes you have a Kubernetes cluster running locally on Docker Des
```hcl
module "kafka_topic" {
source = "aidanmelen/confluent-platform/kubernetes//modules/kafka_topic"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]
name = "my-topic"
Expand All @@ -22,7 +22,7 @@ module "kafka_topic" {
module "other_kafka_topic" {
source = "aidanmelen/confluent-platform/kubernetes//modules/kafka_topic"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]
name = "my-other-topic"
Expand Down
2 changes: 1 addition & 1 deletion examples/schema/.main.tf.docs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "schema" {
source = "aidanmelen/confluent-platform/kubernetes//modules/schema"
version = ">= 0.8.0"
version = ">= 0.9.0"

name = "pageviews-value"
namespace = var.namespace
Expand Down
2 changes: 1 addition & 1 deletion examples/schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This example assumes you have a Kubernetes cluster running locally on Docker Des
```hcl
module "schema" {
source = "aidanmelen/confluent-platform/kubernetes//modules/schema"
version = ">= 0.8.0"
version = ">= 0.9.0"
name = "pageviews-value"
namespace = var.namespace
Expand Down
2 changes: 1 addition & 1 deletion modules/confluent_operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Deploy the Confluent Operator.
```hcl
module "confluent_operator" {
source = "aidanmelen/confluent-platform/kubernetes//modules/confluent_operator"
version = ">= 0.8.0"
version = ">= 0.9.0"
create_namespace = true
namespace = "confluent"
Expand Down
2 changes: 1 addition & 1 deletion modules/connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Deploy a Connector on Kafka Connect.
```hcl
module "connector" {
source = "aidanmelen/confluent-platform/kubernetes//modules/connector"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]
name = "my-connector"
Expand Down
4 changes: 2 additions & 2 deletions modules/kafka_topic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Deploy a KafkaTopic.
```hcl
module "kafka_topic" {
source = "aidanmelen/confluent-platform/kubernetes//modules/kafka_topic"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]
name = "my-topic"
Expand All @@ -18,7 +18,7 @@ module "kafka_topic" {
module "other_kafka_topic" {
source = "aidanmelen/confluent-platform/kubernetes//modules/kafka_topic"
version = ">= 0.8.0"
version = ">= 0.9.0"
depends_on = [module.confluent_platform]
name = "my-other-topic"
Expand Down
2 changes: 1 addition & 1 deletion modules/schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Deploy a Schema on the Schema Registry.
```hcl
module "schema" {
source = "aidanmelen/confluent-platform/kubernetes//modules/schema"
version = ">= 0.8.0"
version = ">= 0.9.0"
name = "pageviews-value"
namespace = var.namespace
Expand Down

0 comments on commit ecf5efa

Please sign in to comment.