- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for tmp (0.14 sec)
-
cni/pkg/install/kubeconfig_test.go
kubeCAFilepath = "testdata/kube-ca.crt" saToken = "service_account_token_string" ) func TestCreateValidKubeconfigFile(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644) constants.ServiceAccountPath = tmp cases := []struct { name string expectedFailure bool k8sServiceProtocol string k8sServiceHost string k8sServicePort string
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
bin/update_crds.sh
fi git clone "https://${REPO}" "${API_TMP}" && cd "${API_TMP}" git checkout "${SHA}" if [ ! -f "${API_TMP}/kubernetes/customresourcedefinitions.gen.yaml" ]; then echo "Generated Custom Resource Definitions file does not exist in the commit SHA ${SHA}. Not updating the CRD file." exit fi rm -f "${ROOTDIR}/manifests/charts/base/crds/crd-all.gen.yaml"
Shell Script - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Apr 22 14:28:27 GMT 2024 - 3.4K bytes - Viewed (0) -
cni/test/install_cni.go
} } func runInstall(ctx context.Context, tempCNIConfDir, tempCNIBinDir, tempK8sSvcAcctDir, cniConfFileName, testBinDir string, chainedCNIPlugin bool, t *testing.T, ) { ztunnelAddr := "/tmp/ztfoo" cniEventAddr := "/tmp/cnieventfoo" defer os.Remove(ztunnelAddr) defer os.Remove(cniEventAddr) // "fake" constant, overridable for tests // TODO this is gross, fix this
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
"istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) const ( testPodName = "testPod" testNSName = "testNS" testSandboxDirectory = "/tmp" invalidVersion = "0.1.0" preVersion = "0.2.0" ) var mockConfTmpl = `{ "cniVersion": "%s", "name": "istio-plugin-sample-test", "type": "sample", "capabilities": {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
manifests/addons/gen.sh
--dry-run=client -oyaml \ --from-file=pilot-dashboard.json="${TMP}/pilot-dashboard.json" \ --from-file=istio-performance-dashboard.json="${TMP}/istio-performance-dashboard.json" echo -e "\n---\n" kubectl create configmap -n istio-system istio-services-grafana-dashboards \ --dry-run=client -oyaml \ --from-file=istio-workload-dashboard.json="${TMP}/istio-workload-dashboard.json" \
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 09 21:40:53 GMT 2024 - 3.2K bytes - Viewed (0) -
common/Makefile.common.mk
mirror-licenses: mod-download-go @rm -fr licenses @license-lint --mirror TMP := $(shell mktemp -d -u) UPDATE_BRANCH ?= "master" BUILD_TOOLS_ORG ?= "istio" update-common: @mkdir -p $(TMP) @git clone -q --depth 1 --single-branch --branch $(UPDATE_BRANCH) https://github.com/$(BUILD_TOOLS_ORG)/common-files $(TMP)/common-files @cd $(TMP)/common-files ; git rev-parse HEAD >files/common/.commonfiles.sha @rm -fr common
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Mar 02 20:07:36 GMT 2024 - 5.9K bytes - Viewed (0) -
Makefile.overrides.mk
# test cases fail within Docker, and Mac + Docker isn't quite perfect. # For more information see: https://github.com/istio/istio/pull/19322/ BUILD_WITH_CONTAINER ?= 1 CONTAINER_OPTIONS = --mount type=bind,source=/tmp,destination=/tmp --net=host export COMMONFILES_POSTPROCESS = tools/commonfiles-postprocess.sh ifeq ($(BUILD_WITH_CONTAINER),1) # create phony targets for the top-level items in the repo PHONYS := $(shell ls | grep -v Makefile)
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Mar 28 17:29:39 GMT 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
kubectl -n istio-system get cm istio -o jsonpath="{.data.mesh}" > /tmp/mesh.yaml kubectl -n istio-system get cm istio-sidecar-injector -o jsonpath="{.data.values}" > /tmp/values.json # Use kube-inject based on captured configuration istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml \ --injectConfigFile /tmp/inj-template.tmpl \
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
common/scripts/metallb-native.yaml
allowPrivilegeEscalation: false capabilities: drop: - all readOnlyRootFilesystem: true volumeMounts: - mountPath: /tmp/k8s-webhook-server/serving-certs name: cert readOnly: true nodeSelector: kubernetes.io/os: linux securityContext: fsGroup: 65534 runAsNonRoot: true
Others - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Feb 23 23:56:31 GMT 2024 - 63.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
netServer: fs, } handlers := setupHandlers(ctx, client, dpServer, "istio-system") // We are not going to start the server, so the sockpath is irrelevant pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer) // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneMode, constants.DataplaneModeAmbient))
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Feb 02 08:18:40 GMT 2024 - 5.4K bytes - Viewed (0)