diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ffd8f3b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +kubeconfig.yaml \ No newline at end of file diff --git a/bot/index.ts b/bot/index.ts index bea1320..77cbc55 100644 --- a/bot/index.ts +++ b/bot/index.ts @@ -176,7 +176,7 @@ const createKubernetesResources = async ( }, spec: { runtimeClassName: "sysbox-runc", - hostname: `tag-${id}`, + hostname: `tag${id}`, dnsPolicy: "None", dnsConfig: { nameservers: ["1.1.1.1"], diff --git a/kubeconfig.yaml b/kubeconfig.yaml deleted file mode 100644 index 6b437c2..0000000 --- a/kubeconfig.yaml +++ /dev/null @@ -1,19 +0,0 @@ -kind: Config -apiVersion: v1 -preferences: {} -current-context: tag-bot@kubernetes -clusters: - - cluster: - certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURCVENDQWUyZ0F3SUJBZ0lJVWtIQ2ZxUU9vU0l3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TXpFeE1qQXhPVEV3TURsYUZ3MHpNekV4TVRjeE9URTFNRGxhTUJVeApFekFSQmdOVkJBTVRDbXQxWW1WeWJtVjBaWE13Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLCkFvSUJBUURPd3RqSnl2YmtSSDhwTGNkZXJ5U3BRb3VNU0dIQ1FISzd0MzNaRWtuclI1d202THc5cnF3RFFGR3AKa25ocWFJT0hDVERmNmZHNTQvL0xIRVc4Y1NQdGpGVzI3ZUthZm1TOFpudFRmRndqcGkwdkRRMGZEbHA5UHFMZAp5MW5zOFpMYWg0eE9XNFlxUnhTb3EveUt5eWt0SGtlcVhmMnBzcmxNd2dGVExQNmRxMmIxSG83TDBpWnpoN3dQCldrZTVRTFZYeXFreDFuZmZ6ZFNheWJwNmhYYWVpNW15QW5hS2t0YXdFY1Z6ZzBzWFI0NlRyVmcvOXdic3R3TzMKUzZTeHdrZ3VYVVFvQm9MNUxaREpLWUhpSUNJTWpSbkhVM3JNeE4xZEdmajRZVEx4STRCUFQ5MFZZZHQvV2VYVApjcnppZ2lzSE9BbHNSMHBIWm9MOGljbkdCeWlMQWdNQkFBR2pXVEJYTUE0R0ExVWREd0VCL3dRRUF3SUNwREFQCkJnTlZIUk1CQWY4RUJUQURBUUgvTUIwR0ExVWREZ1FXQkJSUGYzbzE2MHczTUg0NnRxSXNvNVJWVFBiVnhEQVYKQmdOVkhSRUVEakFNZ2dwcmRXSmxjbTVsZEdWek1BMEdDU3FHU0liM0RRRUJDd1VBQTRJQkFRQllaWlAxRUtQNgo0ci9OZWtLMmtvY0pXMU1iRWorNzloTG55bi9Hc1ZsRXR4bVlrOGt1RGxGNlExMXhFU3Z3TDlNajJHejhnN2dUCnAzdHVsSmdtN21UTjBRalN0RkNkQ1puRVBYYzJPelZjNXREbmtxUTZndFRhczBXUFhqa1RxbkpUditlMVNVM0kKREJNNk42OVdnU2dpV2YxdmJUYmt3blJYNlFMM0Y2WG8xcFFYYVhRd0VXcHozbDg5OCtFVENabk41QVExTzBmRQp3UFQ2c3hrNThXYzhGbTFzNCtlS2lBSmlHT1FvYmFPVWRJclNTcUlXcUJkcGcvVHpjZytVMkdDeU1nNUVzRGJBCk9CSFY4NEl3c2ZpbzhSb2VkZjZiWmNUUklYQTRMdWttR3pibWxIYTFnUHJTNjRqNSt3MzJUK1pPbDl1SGpLMWMKOGt3a2l5Q1MzK0RyCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K - server: https://100.125.211.31:6443 - name: kubernetes -contexts: - - context: - cluster: kubernetes - namespace: tag - user: tag-bot - name: tag-bot@kubernetes -users: - - name: tag-bot - user: - token: eyJhbGciOiJSUzI1NiIsImtpZCI6InNDVVcyUnRPeGlyZFEzQkVxNXdWWUxYNjZCc1VuVWM4S18wQ3NCZ1U4ancifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJ0YWciLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoidGFnLWJvdC1zZWNyZXQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoidGFnLWJvdCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6IjlmOGMzZDY3LWUwN2UtNDBiMi05Y2UzLWU5NDY3ZmNhZmVhYiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDp0YWc6dGFnLWJvdCJ9.qL1GPEH1dovWXXJfCUTX8UE-Nr8F60-SKCvKldR7R3_R_4zY0ZwJo7zHaXWq8MQBRdysZ1z00SabnfEQ2KUMe703mu6Z2mAKuZwpV7hFUvgDNeMNj_9YkbVHPrObnfJu0wTNalUms2u-3BoqLaxGspszEwp90fE41pyCbLuq5eLimsKyWA4WhEitNO_bKH-taCbzCPkX5UOMF5xv_1VEsaJPDFdtmxcn-HTSDj4m_RVFXzyK-tU3LO-q1w1JPxjGNngF4J0sXs_aiwRQTMbEallsc-HFBQkPqc0QqGUt3kIOKER7QnFgrUrIJyjMj86UkRNQTcUstB1IleHgduVZTA