Skip to content

Commit

Permalink
feat: Creating the v2 version of the provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinstorres committed Nov 21, 2024
1 parent 86ec3c1 commit d7a6eef
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 16 deletions.
4 changes: 0 additions & 4 deletions _examples/crds/couchbase.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
provider "kubectl" {
apply_retry_count = 5
}

resource "kubectl_manifest" "test" {
depends_on = ["kubectl_manifest.definecrd"]

Expand Down
3 changes: 0 additions & 3 deletions _examples/ingress_basic/basic_ingress.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
provider "kubectl" {}

resource "kubectl_manifest" "test" {
yaml_body = <<YAML
apiVersion: networking.k8s.io/v1
Expand Down Expand Up @@ -29,4 +27,3 @@ spec:
"metadata.annotations.azure/sensitive",
]
}

4 changes: 1 addition & 3 deletions _examples/ingress_complex/complex_ingress.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
provider "kubectl" {}

resource "kubectl_manifest" "test" {
yaml_body = <<YAML
apiVersion: networking.k8s.io/v1
Expand Down Expand Up @@ -29,4 +27,4 @@ spec:
hosts:
- bob
YAML
}
}
4 changes: 1 addition & 3 deletions _examples/roles/clusterrole.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
provider "kubectl" {}


resource "kubectl_manifest" "account" {
yaml_body = <<YAML
apiVersion: v1
Expand Down Expand Up @@ -29,3 +26,4 @@ subjects:
namespace: kube-system
YAML
}

3 changes: 0 additions & 3 deletions _examples/service/basic_service.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
provider "kubectl" {}

resource "kubectl_manifest" "test" {
yaml_body = <<YAML
apiVersion: v1
Expand All @@ -16,4 +14,3 @@ spec:
targetPort: 9090
YAML
}

0 comments on commit d7a6eef

Please sign in to comment.