-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update generated example library content
- Loading branch information
1 parent
2bca110
commit 78a7620
Showing
50 changed files
with
333 additions
and
333 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
resource-definitions/echo-driver/namespace/custom-namespace.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
resource "humanitec_resource_definition" "namespace-echo" { | ||
driver_type = "humanitec/echo" | ||
id = "namespace-echo" | ||
name = "namespace-echo" | ||
type = "k8s-namespace" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
id = "namespace-echo" | ||
name = "namespace-echo" | ||
type = "k8s-namespace" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
"namespace" = "$${context.app.id}-$${context.env.id}" | ||
}) | ||
} | ||
} | ||
|
||
resource "humanitec_resource_definition_criteria" "namespace-echo_criteria_0" { | ||
resource_definition_id = resource.humanitec_resource_definition.namespace-echo.id | ||
resource_definition_id = resource.humanitec_resource_definition.namespace-echo.id | ||
|
||
} |
18 changes: 9 additions & 9 deletions
18
resource-definitions/echo-driver/postgres/postgres-secretstore.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
resource "humanitec_resource_definition" "postgres-echo" { | ||
driver_type = "humanitec/echo" | ||
id = "postgres-echo" | ||
name = "postgres-echo" | ||
type = "postgres" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
id = "postgres-echo" | ||
name = "postgres-echo" | ||
type = "postgres" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
"name" = "my-database" | ||
"host" = "products.postgres.dev.example.com" | ||
"port" = 5432 | ||
}) | ||
secret_refs = jsonencode({ | ||
secret_refs = jsonencode({ | ||
"username" = { | ||
"store" = "my-gsm" | ||
"ref" = "cloudsql-username" | ||
"ref" = "cloudsql-username" | ||
} | ||
"password" = { | ||
"store" = "my-gsm" | ||
"ref" = "cloudsql-password" | ||
"ref" = "cloudsql-password" | ||
} | ||
}) | ||
} | ||
} | ||
|
||
resource "humanitec_resource_definition_criteria" "postgres-echo_criteria_0" { | ||
resource_definition_id = resource.humanitec_resource_definition.postgres-echo.id | ||
resource_definition_id = resource.humanitec_resource_definition.postgres-echo.id | ||
|
||
} |
18 changes: 9 additions & 9 deletions
18
resource-definitions/echo-driver/redis/redis-secret-refs.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
resource "humanitec_resource_definition" "redis-echo" { | ||
driver_type = "humanitec/echo" | ||
id = "redis-echo" | ||
name = "redis-echo" | ||
type = "redis" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
id = "redis-echo" | ||
name = "redis-echo" | ||
type = "redis" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
"host" = "0.0.0.0" | ||
"port" = 6379 | ||
}) | ||
secret_refs = jsonencode({ | ||
secret_refs = jsonencode({ | ||
"password" = { | ||
"store" = "my-gsm" | ||
"ref" = "redis-password" | ||
"ref" = "redis-password" | ||
} | ||
"username" = { | ||
"store" = "my-gsm" | ||
"ref" = "redis-user" | ||
"ref" = "redis-user" | ||
} | ||
}) | ||
} | ||
} | ||
|
||
resource "humanitec_resource_definition_criteria" "redis-echo_criteria_0" { | ||
resource_definition_id = resource.humanitec_resource_definition.redis-echo.id | ||
resource_definition_id = resource.humanitec_resource_definition.redis-echo.id | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
resource-definitions/ingress/ingress/ingress-openshift-operator.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
resource-definitions/k8s-cluster-aks/credentials/aks-dynamic-credentials.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
resource-definitions/k8s-cluster-aks/credentials/aks-static-credentials-cloudaccount.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
resource-definitions/k8s-cluster-aks/credentials/aks-static-credentials.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
resource-definitions/k8s-cluster-eks/credentials/eks-dynamic-credentials.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
resource-definitions/k8s-cluster-eks/credentials/eks-static-credentials-cloudaccount.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
resource-definitions/k8s-cluster-eks/credentials/eks-static-credentials.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
resource-definitions/k8s-cluster-git/credentials/github-for-gitops.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
resource "humanitec_resource_definition" "github-for-gitops" { | ||
driver_type = "humanitec/k8s-cluster-git" | ||
id = "github-for-gitops" | ||
name = "github-for-gitops" | ||
type = "k8s-cluster" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
"url" = "[email protected]:example-org/gitops-repo.git" | ||
"branch" = "development" | ||
"path" = "$${context.app.id}/$${context.env.id}" | ||
id = "github-for-gitops" | ||
name = "github-for-gitops" | ||
type = "k8s-cluster" | ||
driver_inputs = { | ||
values_string = jsonencode({ | ||
"url" = "[email protected]:example-org/gitops-repo.git" | ||
"branch" = "development" | ||
"path" = "$${context.app.id}/$${context.env.id}" | ||
"loadbalancer" = "35.10.10.10" | ||
}) | ||
secrets_string = jsonencode({ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.