Skip to content

Commit

Permalink
Merge pull request #11 from turkenh/upbound-io
Browse files Browse the repository at this point in the history
Use upbound.io in API Group
  • Loading branch information
turkenh authored Nov 22, 2022
2 parents f40b452 + e2726f5 commit 373bec2
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ represents a Terraform workspace. The configuration of each workspace may be
either fetched from a remote source (e.g. git), or simply specified inline.

```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: example-inline
Expand Down Expand Up @@ -51,7 +51,7 @@ spec:
```
```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: example-remote
Expand Down
2 changes: 1 addition & 1 deletion apis/v1beta1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ limitations under the License.

// Package v1beta1 contains the core resources of the Terraform provider.
// +kubebuilder:object:generate=true
// +groupName=tf.crossplane.io
// +groupName=tf.upbound.io
// +versionName=v1beta1
package v1beta1
2 changes: 1 addition & 1 deletion apis/v1beta1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

// Package type metadata.
const (
Group = "tf.crossplane.io"
Group = "tf.upbound.io"
Version = "v1beta1"
)

Expand Down
12 changes: 6 additions & 6 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kubectl create secret generic git-credentials --from-file=.git-credentials
Reference it in ProviderConfig.

```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: default
Expand Down Expand Up @@ -103,7 +103,7 @@ the planArgs, applyArgs and destroyArgs options.
For example:
```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: example-args
Expand Down Expand Up @@ -151,7 +151,7 @@ To enable it, the `Workspace` spec has an **optional** `Entrypoint` field.
Consider this example:

```yml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: relative-path-test
Expand Down Expand Up @@ -187,7 +187,7 @@ In case you need to disable it, set optional `pluginCache` to `false` in
`ProviderConfig`:

```console
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: default
Expand Down Expand Up @@ -223,7 +223,7 @@ spec:

Prepare a `StoreConfig` for Vault:
```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: StoreConfig
metadata:
name: vault
Expand Down Expand Up @@ -257,7 +257,7 @@ spec:
resources:
- name: foo
base:
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: foo
Expand Down
6 changes: 3 additions & 3 deletions docs/Quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Create a `ProviderConfig` Kubernetes configuration file to attach the GCP creden
**Note:** the `ProviderConfig` must contain the correct GCP project ID. The project ID must match the `project_id` from the JSON key file.

```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: default
Expand Down Expand Up @@ -168,7 +168,7 @@ Verify the `ProviderConfig` with `kubectl describe providerconfigs`.
$ kubectl describe providerconfigs
Name: default
Namespace:
API Version: tf.crossplane.io/v1beta1
API Version: tf.upbound.io/v1beta1
Kind: ProviderConfig
# Output truncated
Spec:
Expand Down Expand Up @@ -201,7 +201,7 @@ Create a managed resource of type `Workspace` to verify the provider is function
This example creates a GCP storage bucket with a globally unique name.

```yaml
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: example-inline
Expand Down
2 changes: 1 addition & 1 deletion examples/aws-eks-irsa-seup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
controllerConfigRef:
name: terraform-config
---
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: ProviderConfig
metadata:
annotations: {}
Expand Down
2 changes: 1 addition & 1 deletion examples/observe-only-composition/composition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
resources:
- name: observe-only-vpc
base:
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: observe-only-vpc
Expand Down
2 changes: 1 addition & 1 deletion examples/providerconfig-aws.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: aws-eu-west-1
Expand Down
2 changes: 1 addition & 1 deletion examples/providerconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: default
Expand Down
2 changes: 1 addition & 1 deletion examples/workspace-inline.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: example-inline
Expand Down
2 changes: 1 addition & 1 deletion examples/workspace-remote.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: tf.crossplane.io/v1beta1
apiVersion: tf.upbound.io/v1beta1
kind: Workspace
metadata:
name: example-remote
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: providerconfigs.tf.crossplane.io
name: providerconfigs.tf.upbound.io
spec:
group: tf.crossplane.io
group: tf.upbound.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: providerconfigusages.tf.crossplane.io
name: providerconfigusages.tf.upbound.io
spec:
group: tf.crossplane.io
group: tf.upbound.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: storeconfigs.tf.crossplane.io
name: storeconfigs.tf.upbound.io
spec:
group: tf.crossplane.io
group: tf.upbound.io
names:
categories:
- crossplane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: workspaces.tf.crossplane.io
name: workspaces.tf.upbound.io
spec:
group: tf.crossplane.io
group: tf.upbound.io
names:
categories:
- crossplane
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load_crd_type(t):


exception_set = {
'ProviderConfigUsage.tf.crossplane.io/v1beta1'
'ProviderConfigUsage.tf.upbound.io/v1beta1'
}


Expand Down

0 comments on commit 373bec2

Please sign in to comment.