-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update FAQ, Module and Workspace docs, and add examples
- Loading branch information
1 parent
4791d86
commit 509e739
Showing
13 changed files
with
152 additions
and
9 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Examples | ||
|
||
Here you can find different examples of the YAML manifests. They aim to demonstrate the usage of the different features supported by the Operator and do not seek to demonstrate all possible combinations. | ||
|
||
All examples must be based on basic examples `*-basic.yaml`. | ||
|
||
If you encounter any issues with examples or want to add more, please feel free to open a new issue! |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
--- | ||
apiVersion: app.terraform.io/v1alpha2 | ||
kind: AgentPool | ||
metadata: | ||
name: this | ||
spec: | ||
organization: kubernetes-operator | ||
token: | ||
secretKeyRef: | ||
name: tfc-operator | ||
key: token | ||
name: agent-pool-demo | ||
agentTokens: | ||
- name: token |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
--- | ||
apiVersion: app.terraform.io/v1alpha2 | ||
kind: Module | ||
metadata: | ||
name: this | ||
spec: | ||
organization: kubernetes-operator | ||
token: | ||
secretKeyRef: | ||
name: tfc-operator | ||
key: token | ||
module: | ||
source: redeux/terraform-cloud-agent/kubernetes | ||
version: 1.0.1 | ||
workspace: | ||
id: ws-NUVHA9feCXzAmPHx | ||
# Alternatively, you can use the Workspace name: | ||
# | ||
# name: workspace-name |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
--- | ||
apiVersion: app.terraform.io/v1alpha2 | ||
kind: Workspace | ||
metadata: | ||
name: this | ||
spec: | ||
organization: kubernetes-operator | ||
token: | ||
secretKeyRef: | ||
name: tfc-operator | ||
key: token | ||
name: kubernetes-operator-demo |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
--- | ||
apiVersion: app.terraform.io/v1alpha2 | ||
kind: Workspace | ||
metadata: | ||
name: this | ||
spec: | ||
organization: kubernetes-operator | ||
token: | ||
secretKeyRef: | ||
name: tfc-operator | ||
key: token | ||
name: kubernetes-operator-demo | ||
runTriggers: | ||
- id: ws-NUVHA9feCXzAmPHx | ||
- name: target-workspace |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
--- | ||
apiVersion: app.terraform.io/v1alpha2 | ||
kind: Workspace | ||
metadata: | ||
name: this | ||
spec: | ||
organization: kubernetes-operator | ||
token: | ||
secretKeyRef: | ||
name: tfc-operator | ||
key: token | ||
name: kubernetes-operator-demo | ||
terraformVersion: 1.3.7 |
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
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