Kubernetes Proxy
Allow proxy using kubernetes port forward to socat tunnel
Example Usage
resource "apono_integration" "k8s-port-forward-proxy-integration" {
name = "Kubernetes Proxy"
type = "k8s-port-forward-proxy"
connector_id = "apono-connector-id"
connected_resource_types = ["k8s-port-forward-proxy"]
metadata = {
target_host = "<Target Host>"
target_port = "<Target Port>"
local_port = "<Local Port>"
proxy_id = "<Proxy ID>"
server_url = "<Server URL>"
certificate_authority = "<Certificate Authority>"
cluster_name = "<kubeconfig Cluster Name>"
kubeconfig_api_server_url = "<kubeconfig Server URL>"
credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
}
aws_secret = {
region = "aws_region_template_value"
secret_id = "aws_secret_id_template_value"
}
}resource "apono_resource_integration" "k8s-port-forward-proxy-integration" {
name = "Kubernetes Proxy"
type = "k8s-port-forward-proxy"
connector_id = "apono-connector-id"
connected_resource_types = ["k8s-port-forward-proxy"]
integration_config = {
target_host = "<Target Host>"
target_port = "<Target Port>"
local_port = "<Local Port>"
proxy_id = "<Proxy ID>"
server_url = "<Server URL>"
certificate_authority = "<Certificate Authority>"
cluster_name = "<kubeconfig Cluster Name>"
kubeconfig_api_server_url = "<kubeconfig Server URL>"
credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
}
secret_store_config = {
aws = {
region = "aws_region_template_value"
secret_id = "aws_secret_id_template_value"
}
}{
"k8s-port-forward-proxy-integration": {
"name": "Kubernetes Proxy",
"type": "k8s-port-forward-proxy",
"connector_id": "apono-connector-id",
"connected_resource_types": [
"k8s-port-forward-proxy"
],
"integration_config": {
"target_host": "<Target Host>",
"target_port": "<Target Port>",
"local_port": "<Local Port>",
"proxy_id": "<Proxy ID>",
"server_url": "<Server URL>",
"certificate_authority": "<Certificate Authority>",
"cluster_name": "<kubeconfig Cluster Name>",
"kubeconfig_api_server_url": "<kubeconfig Server URL>",
"credentials_rotation_period_in_days": "<Credentials rotation period (in days)>",
"credentials_cleanup_period_in_days": "<User cleanup after access is revoked (in days)>",
},
"secret_store_config": {
"region": "aws_region_template_value",
"secret_id": "aws_secret_id_template_value"
}
}
}Schema
typek8s-port-forward-proxyconnected_resource_typesList of resource types to sync.
Integration Config
target_host(Required | String) Target Hosttarget_port(Required | String) Target Portlocal_port(Required | String) Local Portproxy_id(Required | String) Proxy IDserver_url(Optional | String) Server URLcertificate_authority(Optional | String) Certificate Authoritycluster_name(Required | String) kubeconfig Cluster Namekubeconfig_api_server_url(Optional | String) kubeconfig Server URLcredentials_rotation_period_in_days(Optional | String) Credentials rotation period (in days)credentials_cleanup_period_in_days(Optional | String) User cleanup after access is revoked (in days)
Last updated
Was this helpful?
