From nobody Tue Jan 17 16:31:06 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NxDsk6hJgz2sjM5; Tue, 17 Jan 2023 16:31:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NxDsk5yfjz3DDl; Tue, 17 Jan 2023 16:31:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673973066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w5wohsarmrLvYgDkHZk/XsAah6rCrUJEchZLCsi1Cz4=; b=tHQtl94BUOgeeBXEgeA9ah+bzvAiQlPtaTZelWw4we3kW8m/2gxM8D9HpE3BIKczYeShYa rqA3yD9vuGpmIbZEEM/l1VCCLXoT1fRO/iBGMTYLIQ+2a8nplSlu3m0NcFDyBrD5x9UE8I U10Bw0UBKpmCRWPLcqxCHRKB4uehDl0q2C+YsEPTPUEuvpRmVHcSKJ8FsP4k14OI94l2RO /ElwTolf+y8lQ6jmr07W5mHipAyBH7wxscxZUF7sjVmyLMPl7tIB/iFdLFdi521phGeYXd 0KsSCPlmpa43IDGFF3OfYKlooRiyrHe/aurY1ixhi6J3v5Bv+o/ZSUvkc9hOEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673973066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w5wohsarmrLvYgDkHZk/XsAah6rCrUJEchZLCsi1Cz4=; b=Xd14rJfxyXbfl+Gv83de92lexvDu8ca6lnxRzBUgyncKK5+4nHYEefk9shc/cXO2fSjVHR nGCDlN9dT3vf0RrB4xja56xUmpsSX4KfU1rz54rVQa2B7eeU9QtQHga30kj7MsoeBrNCrX LmSeAbTOU9CGvz/xJZT8yo+4IS1XlHxW3EWlV0+WlOoaGhZzjLGF7Lnbv2a92O6SWRnsmB 1eaikQAuU7hvgCAIRhCvU1w8obWb7glMOh8JDoV4+xkh1tgRpXGPMKg6rOf5LUZCZPiukG iTkjna0hCN+0MtQ2umDHIAjKv0bdKIFKY4nvkWGtUuzMiCSpYKxIVqywlOa3lA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673973066; a=rsa-sha256; cv=none; b=DthBotntBwQuWlG0TV+nZUvI+sdSc6gDdgC6L7s6WoruI04eVz9S5idPARXdsyqyycfPm6 kkwtPAawwpzwPOUD1BnCdey6I8L7tqH+7kN9wfYU2xf9/IAVXgAhOZKO8sHGgM2sE11703 7gavx5NAK9w1syQcViW/bmlJVVKpmL7EI5fRJb801GMxNQeRL/4BU38H9Q7kF8pShM+ccA DNCCEH1l0pXSXIMZy8q0nbReGVgv2rBFpl1fXj6kcyCiyysR9uOR3Y3H/RP/sKIAsvwQ99 8XoebSjtQIVE1uMMPuVjqUFTBf6yaeowbJkMKPTbHSxjH0bSTQUj8tFH+h7OPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NxDsk51xvzdtR; Tue, 17 Jan 2023 16:31:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30HGV6Fg086901; Tue, 17 Jan 2023 16:31:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30HGV60W086900; Tue, 17 Jan 2023 16:31:06 GMT (envelope-from git) Date: Tue, 17 Jan 2023 16:31:06 GMT Message-Id: <202301171631.30HGV60W086900@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 264a02d617e3 - main - et/kube-controller-manager, net/kube-scheduler: Update to 1.26.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 264a02d617e3675c8b1b4e5bfa909d604fc48ef0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=264a02d617e3675c8b1b4e5bfa909d604fc48ef0 commit 264a02d617e3675c8b1b4e5bfa909d604fc48ef0 Author: Loic Blot AuthorDate: 2022-11-12 22:41:15 +0000 Commit: Mikael Urankar CommitDate: 2023-01-17 16:30:33 +0000 et/kube-controller-manager, net/kube-scheduler: Update to 1.26.0 PR: 267307 Approved by: Loïc Blot (maintainer) --- net/kube-controller-manager/Makefile | 30 ++++++++++++++----- net/kube-controller-manager/distinfo | 6 ++-- .../files/kube-controller-manager.in | 24 +++++++++++++++ net/kube-controller-manager/pkg-message | 10 +++++++ net/kube-scheduler/Makefile | 34 +++++++++++++++++----- net/kube-scheduler/distinfo | 6 ++-- net/kube-scheduler/files/kube-scheduler.in | 24 +++++++++++++++ net/kube-scheduler/files/scheduler.yaml.sample | 8 +++++ net/kube-scheduler/pkg-message | 9 ++++++ net/kube-scheduler/pkg-plist | 1 + 10 files changed, 130 insertions(+), 22 deletions(-) diff --git a/net/kube-controller-manager/Makefile b/net/kube-controller-manager/Makefile index a3fbe7123d3b..2c28654249a4 100644 --- a/net/kube-controller-manager/Makefile +++ b/net/kube-controller-manager/Makefile @@ -1,7 +1,6 @@ PORTNAME= kube-controller-manager -PORTVERSION= 1.13.3 +PORTVERSION= 1.26.0 DISTVERSIONPREFIX= v -PORTREVISION= 8 CATEGORIES= net MAINTAINER= loic.blot@unix-experience.fr @@ -20,14 +19,29 @@ USE_GITHUB= yes GH_ACCOUNT= kubernetes GH_PROJECT= kubernetes -BUILD_DATE= 2019-01-30T00:00:00Z - GO_PKGNAME= k8s.io/kubernetes GO_TARGET= ${GO_PKGNAME}/cmd/kube-controller-manager -GO_BUILDFLAGS= -ldflags="-X k8s.io/kubernetes/pkg/version.gitMajor=${PORTVERSION:R:R} \ - -X k8s.io/kubernetes/pkg/version.gitMinor=${PORTVERSION:R:E} \ - -X k8s.io/kubernetes/pkg/version.buildDate=${BUILD_DATE} \ - -X k8s.io/kubernetes/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}" + +BUILD_DATE= $$(date +'%Y-%m-%dT%H:%M:%SZ') + +GO_BUILDFLAGS= -ldflags="-X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.buildDate=${BUILD_DATE} \ + -X k8s.io/kubernetes/vendor/k8s.io/component-base/version.buildDate=${BUILD_DATE} \ + -X k8s.io/client-go/pkg/version.buildDate=${BUILD_DATE} \ + -X k8s.io/component-base/version.buildDate=${BUILD_DATE} \ + -X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.gitMinor=${PORTVERSION:R:E} \ + -X k8s.io/kubernetes/vendor/k8s.io/component-base/version.gitMinor=${PORTVERSION:R:E} \ + -X k8s.io/client-go/pkg/version.gitMinor=${PORTVERSION:R:E} \ + -X k8s.io/component-base/version.gitMinor=${PORTVERSION:R:E} \ + -X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.gitMajor=${PORTVERSION:R:R} \ + -X k8s.io/kubernetes/vendor/k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \ + -X k8s.io/client-go/pkg/version.gitMajor=${PORTVERSION:R:R} \ + -X k8s.io/component-base/version.gitMajor=${PORTVERSION:R:R} \ + -X k8s.io/kubernetes/vendor/k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \ + -X k8s.io/kubernetes/vendor/k8s.io/component-base/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \ + -X k8s.io/client-go/pkg/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION} \ + -X k8s.io/component-base/version.gitVersion=${DISTVERSIONPREFIX}${PORTVERSION}" + +USE_RC_SUBR= kube-controller-manager PLIST_FILES= bin/${PORTNAME} diff --git a/net/kube-controller-manager/distinfo b/net/kube-controller-manager/distinfo index aa1014801863..8055edd96ad8 100644 --- a/net/kube-controller-manager/distinfo +++ b/net/kube-controller-manager/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1550216251 -SHA256 (kubernetes-kubernetes-v1.13.3_GH0.tar.gz) = 9dc072cb7fa2aeb4ed6ee5e22e0a18eb323898af1c490c3a526d969313c483b3 -SIZE (kubernetes-kubernetes-v1.13.3_GH0.tar.gz) = 28781320 +TIMESTAMP = 1670573554 +SHA256 (kubernetes-kubernetes-v1.26.0_GH0.tar.gz) = a0de781db6d09d91f39306740420f150c5912606f52e4c9a859649f4313fe508 +SIZE (kubernetes-kubernetes-v1.26.0_GH0.tar.gz) = 40269668 diff --git a/net/kube-controller-manager/files/kube-controller-manager.in b/net/kube-controller-manager/files/kube-controller-manager.in new file mode 100755 index 000000000000..36e5207eac55 --- /dev/null +++ b/net/kube-controller-manager/files/kube-controller-manager.in @@ -0,0 +1,24 @@ +#!/bin/sh +# +# PROVIDE: kube-controller-manager +# REQUIRE: DAEMON +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable kube-controller-manager: +# +# kube-controller-manager_enable="YES" + +. /etc/rc.subr + +name="kube_controller_manager" +rcvar="kube_controller_manager_enable" + +load_rc_config $name +: ${kube_controller_manager_enable:=no} +: ${kube_controller_manager_args:="--bind-address=0.0.0.0 --v=2"} + +pidfile="/var/run/${name}.pid" +command="/usr/sbin/daemon" +command_args="-P ${pidfile} -r -S -t ${name} -T ${name} /usr/local/bin/kube-controller-manager ${kube_controller_manager_args}" + +run_rc_command "$1" diff --git a/net/kube-controller-manager/pkg-message b/net/kube-controller-manager/pkg-message new file mode 100644 index 000000000000..67d3ec61eb22 --- /dev/null +++ b/net/kube-controller-manager/pkg-message @@ -0,0 +1,10 @@ +[ +{ type: install + message: < diff --git a/net/kube-scheduler/distinfo b/net/kube-scheduler/distinfo index e7ce71a72f14..763d3e34427c 100644 --- a/net/kube-scheduler/distinfo +++ b/net/kube-scheduler/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1550217672 -SHA256 (kubernetes-kubernetes-v1.13.3_GH0.tar.gz) = 9dc072cb7fa2aeb4ed6ee5e22e0a18eb323898af1c490c3a526d969313c483b3 -SIZE (kubernetes-kubernetes-v1.13.3_GH0.tar.gz) = 28781320 +TIMESTAMP = 1670573058 +SHA256 (kubernetes-kubernetes-v1.26.0_GH0.tar.gz) = a0de781db6d09d91f39306740420f150c5912606f52e4c9a859649f4313fe508 +SIZE (kubernetes-kubernetes-v1.26.0_GH0.tar.gz) = 40269668 diff --git a/net/kube-scheduler/files/kube-scheduler.in b/net/kube-scheduler/files/kube-scheduler.in new file mode 100755 index 000000000000..78eb7a6e33b1 --- /dev/null +++ b/net/kube-scheduler/files/kube-scheduler.in @@ -0,0 +1,24 @@ +#!/bin/sh +# +# PROVIDE: kube-scheduler +# REQUIRE: DAEMON +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable kube-scheduler: +# +# kube-scheduler_enable="YES" + +. /etc/rc.subr + +name="kube_scheduler" +rcvar="kube_scheduler_enable" + +load_rc_config $name +: ${kube_scheduler_enable:=no} +: ${kube_scheduler_args:="--config=/usr/local/etc/kubernetes/scheduler.yaml --bind-address=0.0.0.0 --v=2"} + +pidfile="/var/run/${name}.pid" +command="/usr/sbin/daemon" +command_args="-P ${pidfile} -r -S -t ${name} -T ${name} /usr/local/bin/kube-scheduler ${kube_scheduler_args}" + +run_rc_command "$1" diff --git a/net/kube-scheduler/files/scheduler.yaml.sample b/net/kube-scheduler/files/scheduler.yaml.sample new file mode 100644 index 000000000000..5150824e5af6 --- /dev/null +++ b/net/kube-scheduler/files/scheduler.yaml.sample @@ -0,0 +1,8 @@ +--- +apiVersion: kubescheduler.config.k8s.io/v1beta3 +kind: KubeSchedulerConfiguration +clientConnection: + kubeconfig: "/usr/local/etc/kubernetes/scheduler.kubeconfig" +leaderElection: + leaderElect: true +enableProfiling: false diff --git a/net/kube-scheduler/pkg-message b/net/kube-scheduler/pkg-message new file mode 100644 index 000000000000..2c2a1afba6d2 --- /dev/null +++ b/net/kube-scheduler/pkg-message @@ -0,0 +1,9 @@ +[ +{ type: install + message: <