mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-13 22:39:06 +02:00
fix traefik
This commit is contained in:
@@ -19,8 +19,3 @@ data "oci_containerengine_cluster_kube_config" "cluster_kube_config" {
|
||||
cluster_id = oci_containerengine_cluster.k8s_cluster.id
|
||||
token_version = "2.0.0"
|
||||
}
|
||||
|
||||
resource "local_file" "oke_kubeconfig" {
|
||||
content = data.oci_containerengine_cluster_kube_config.cluster_kube_config.content
|
||||
filename = "${path.module}/kubeconfig"
|
||||
}
|
||||
|
@@ -5,3 +5,8 @@ output "cluster_ocid" {
|
||||
output "public_endpoint" {
|
||||
value = one(oci_containerengine_cluster.k8s_cluster.endpoints)
|
||||
}
|
||||
|
||||
resource "local_file" "oke_kubeconfig" {
|
||||
content = data.oci_containerengine_cluster_kube_config.cluster_kube_config.content
|
||||
filename = "${path.module}/kubeconfig"
|
||||
}
|
Reference in New Issue
Block a user