Commit bed3e91c authored by Danny's avatar Danny

more tests

parent 622b1d0e
Pipeline #6372 passed with stage
in 18 seconds
resource "local_file" "kubeconfig" { resource "local_file" "kubeconfig" {
content = "${data.template_file.kubeconfig.rendered}" content = "${data.template_file.kubeconfig.rendered}"
filename = "./kubeconfig" filename = "~/.kube/config"
} }
resource "local_file" "config_map_aws_auth" { resource "local_file" "config_map_aws_auth" {
content = "${data.template_file.config_map_aws_auth.rendered}" content = "${data.template_file.config_map_aws_auth.rendered}"
filename = "./config-map-aws-auth.yaml" filename = "config-map-aws-auth_radioco-staging-new.yaml"
} }
resource "null_resource" "configure_kubectl" { resource "null_resource" "configure_kubectl" {
provisioner "local-exec" { provisioner "local-exec" {
command = "kubectl apply -f ./config-map-aws-auth.yaml --kubeconfig ~/.kube/config"" command = "kubectl apply -f ./config-map-aws-auth_radioco-staging-new.yaml --kubeconfig ~/.kube/config"
} }
triggers { triggers {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment