2022-09-05 03:06:08 -04:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-08-12 04:20:19 -04:00
|
|
|
package helm
|
|
|
|
|
2023-03-03 06:43:33 -05:00
|
|
|
// Values for the Cilium Helm releases for AWS.
|
2022-10-21 08:41:31 -04:00
|
|
|
var awsVals = map[string]any{
|
|
|
|
"endpointRoutes": map[string]any{
|
|
|
|
"enabled": true,
|
|
|
|
},
|
|
|
|
"encryption": map[string]any{
|
|
|
|
"enabled": true,
|
|
|
|
"type": "wireguard",
|
|
|
|
},
|
|
|
|
"l7Proxy": false,
|
|
|
|
"ipam": map[string]any{
|
|
|
|
"operator": map[string]any{
|
|
|
|
"clusterPoolIPv4PodCIDRList": []string{
|
|
|
|
"10.244.0.0/16",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"strictModeCIDR": "10.244.0.0/16",
|
|
|
|
"image": map[string]any{
|
|
|
|
"repository": "ghcr.io/3u13r/cilium",
|
|
|
|
"suffix": "",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"digest": "sha256:fdac430143fe719331698b76fbe66410631a21afd3405407d56db260d2d6999b",
|
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
"operator": map[string]any{
|
|
|
|
"image": map[string]any{
|
|
|
|
"repository": "ghcr.io/3u13r/operator",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"suffix": "",
|
|
|
|
"genericDigest": "sha256:a225d8d3976fd2a05cfa0c929cd32e60283abedf6bae51db4709df19b2fb70cb",
|
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"kubeProxyReplacement": "strict",
|
|
|
|
"enableCiliumEndpointSlice": true,
|
|
|
|
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
|
|
|
|
}
|
|
|
|
|
2023-03-03 06:43:33 -05:00
|
|
|
// Values for the Cilium Helm releases for Azure.
|
2022-10-25 09:51:23 -04:00
|
|
|
var azureVals = map[string]any{
|
|
|
|
"endpointRoutes": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"enabled": true,
|
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"encryption": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"enabled": true,
|
|
|
|
"type": "wireguard",
|
|
|
|
},
|
|
|
|
"l7Proxy": false,
|
2022-10-25 09:51:23 -04:00
|
|
|
"ipam": map[string]any{
|
|
|
|
"operator": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"clusterPoolIPv4PodCIDRList": []string{
|
|
|
|
"10.244.0.0/16",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-08-31 09:37:07 -04:00
|
|
|
"strictModeCIDR": "10.244.0.0/16",
|
2022-10-25 09:51:23 -04:00
|
|
|
"image": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"repository": "ghcr.io/3u13r/cilium",
|
2022-08-31 09:37:07 -04:00
|
|
|
"suffix": "",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"digest": "sha256:fdac430143fe719331698b76fbe66410631a21afd3405407d56db260d2d6999b",
|
|
|
|
"useDigest": true,
|
2022-08-12 04:20:19 -04:00
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"operator": map[string]any{
|
|
|
|
"image": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"repository": "ghcr.io/3u13r/operator",
|
2022-08-31 09:37:07 -04:00
|
|
|
"tag": "v1.12.1-edg",
|
2022-08-12 04:20:19 -04:00
|
|
|
"suffix": "",
|
2022-08-31 09:37:07 -04:00
|
|
|
"genericDigest": "sha256:a225d8d3976fd2a05cfa0c929cd32e60283abedf6bae51db4709df19b2fb70cb",
|
2022-08-12 04:20:19 -04:00
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
},
|
2022-08-31 09:37:07 -04:00
|
|
|
"egressMasqueradeInterfaces": "eth0",
|
|
|
|
"enableIPv4Masquerade": true,
|
|
|
|
"kubeProxyReplacement": "strict",
|
|
|
|
"enableCiliumEndpointSlice": true,
|
|
|
|
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
|
2022-08-12 04:20:19 -04:00
|
|
|
}
|
|
|
|
|
2023-03-03 06:43:33 -05:00
|
|
|
// Values for the Cilium Helm releases for GCP.
|
2022-10-25 09:51:23 -04:00
|
|
|
var gcpVals = map[string]any{
|
|
|
|
"endpointRoutes": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"enabled": true,
|
|
|
|
},
|
|
|
|
"tunnel": "disabled",
|
2022-10-25 09:51:23 -04:00
|
|
|
"encryption": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"enabled": true,
|
|
|
|
"type": "wireguard",
|
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"image": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"repository": "ghcr.io/3u13r/cilium",
|
|
|
|
"suffix": "",
|
2022-08-31 09:37:07 -04:00
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"digest": "sha256:fdac430143fe719331698b76fbe66410631a21afd3405407d56db260d2d6999b",
|
2022-08-12 04:20:19 -04:00
|
|
|
"useDigest": true,
|
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"operator": map[string]any{
|
|
|
|
"image": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"repository": "ghcr.io/3u13r/operator",
|
|
|
|
"suffix": "",
|
2022-08-31 09:37:07 -04:00
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"genericDigest": "sha256:a225d8d3976fd2a05cfa0c929cd32e60283abedf6bae51db4709df19b2fb70cb",
|
2022-08-12 04:20:19 -04:00
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"l7Proxy": false,
|
2022-10-25 09:51:23 -04:00
|
|
|
"ipam": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"mode": "kubernetes",
|
|
|
|
},
|
2022-08-31 09:37:07 -04:00
|
|
|
"kubeProxyReplacement": "strict",
|
|
|
|
"enableCiliumEndpointSlice": true,
|
|
|
|
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
|
2022-08-12 04:20:19 -04:00
|
|
|
}
|
|
|
|
|
2023-03-17 04:52:23 -04:00
|
|
|
// Values for the Cilium Helm releases for OpenStack.
|
|
|
|
var openStackVals = map[string]any{
|
|
|
|
"endpointRoutes": map[string]any{
|
|
|
|
"enabled": true,
|
|
|
|
},
|
|
|
|
"encryption": map[string]any{
|
|
|
|
"enabled": true,
|
|
|
|
"type": "wireguard",
|
|
|
|
},
|
|
|
|
"l7Proxy": false,
|
|
|
|
"ipam": map[string]any{
|
|
|
|
"operator": map[string]any{
|
|
|
|
"clusterPoolIPv4PodCIDRList": []string{
|
|
|
|
"10.244.0.0/16",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"strictModeCIDR": "10.244.0.0/16",
|
|
|
|
"image": map[string]any{
|
|
|
|
"repository": "ghcr.io/3u13r/cilium",
|
|
|
|
"suffix": "",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"digest": "sha256:fdac430143fe719331698b76fbe66410631a21afd3405407d56db260d2d6999b",
|
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
"operator": map[string]any{
|
|
|
|
"image": map[string]any{
|
|
|
|
"repository": "ghcr.io/3u13r/operator",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"suffix": "",
|
|
|
|
"genericDigest": "sha256:a225d8d3976fd2a05cfa0c929cd32e60283abedf6bae51db4709df19b2fb70cb",
|
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"kubeProxyReplacement": "strict",
|
|
|
|
"enableCiliumEndpointSlice": true,
|
|
|
|
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
|
|
|
|
}
|
|
|
|
|
2022-10-25 09:51:23 -04:00
|
|
|
var qemuVals = map[string]any{
|
|
|
|
"endpointRoutes": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"enabled": true,
|
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"encryption": map[string]any{
|
2022-08-12 04:20:19 -04:00
|
|
|
"enabled": true,
|
|
|
|
"type": "wireguard",
|
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"image": map[string]any{
|
2022-09-02 14:19:20 -04:00
|
|
|
"repository": "ghcr.io/3u13r/cilium",
|
|
|
|
"suffix": "",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"digest": "sha256:fdac430143fe719331698b76fbe66410631a21afd3405407d56db260d2d6999b",
|
|
|
|
"useDigest": true,
|
|
|
|
},
|
2022-10-25 09:51:23 -04:00
|
|
|
"operator": map[string]any{
|
|
|
|
"image": map[string]any{
|
2022-09-02 14:19:20 -04:00
|
|
|
"repository": "ghcr.io/3u13r/operator",
|
|
|
|
"suffix": "",
|
|
|
|
"tag": "v1.12.1-edg",
|
|
|
|
"genericDigest": "sha256:a225d8d3976fd2a05cfa0c929cd32e60283abedf6bae51db4709df19b2fb70cb",
|
|
|
|
"useDigest": true,
|
|
|
|
},
|
|
|
|
},
|
2022-10-24 18:49:58 -04:00
|
|
|
"ipam": map[string]any{
|
|
|
|
"operator": map[string]any{
|
|
|
|
"clusterPoolIPv4PodCIDRList": []string{
|
|
|
|
"10.244.0.0/16",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-09-02 14:19:20 -04:00
|
|
|
"kubeProxyReplacement": "strict",
|
|
|
|
"enableCiliumEndpointSlice": true,
|
|
|
|
"kubeProxyReplacementHealthzBindAddr": "0.0.0.0:10256",
|
|
|
|
"l7Proxy": false,
|
2022-08-12 04:20:19 -04:00
|
|
|
}
|