Skip to content

Commit

Permalink
chore[chart]: Updated release annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Hipwell <[email protected]>
  • Loading branch information
stevehipwell committed Dec 6, 2022
1 parent c42e69c commit e80450b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
4 changes: 0 additions & 4 deletions charts/metrics-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,5 @@ annotations:
description: "Added ability to set the scheduler name."
- kind: added
description: "Added support for common labels."
- kind: changed
description: "Changed default secure port to 10250."
- kind: changed
description: "Updated registry location to registry.k8s.io."
- kind: changed
description: "Updated Metrics Server image to v0.6.2."
2 changes: 1 addition & 1 deletion charts/metrics-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The following table lists the configurable parameters of the _Metrics Server_ ch
| `rbac.create` | If `true`, create the RBAC resources. | `true` |
| `rbac.pspEnabled` | If `true`, create a pod security policy resource. | `false` |
| `apiService.create` | If `true`, create the `v1beta1.metrics.k8s.io` API service. You typically want this enabled! If you disable API service creation you have to manage it outside of this chart for e.g horizontal pod autoscaling to work with this release. | `true` |
| `apiService.annotations` | Annotations to add to the API service | `{}` |
| `apiService.annotations` | Annotations to add to the API service. | `{}` |
| `apiService.insecureSkipTLSVerify` | Specifies whether to skip TLS verification | `true` |
| `apiService.caBundle` | The PEM encoded CA bundle for TLS verification | `""` |
| `commonLabels` | Labels to add to each object of the chart. | `{}` |
Expand Down
28 changes: 17 additions & 11 deletions skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,38 @@ build:
useDockerCLI: true
useBuildkit: true
artifacts:
- image: gcr.io/k8s-staging-metrics-server/metrics-server
docker:
dockerfile: Dockerfile
buildArgs:
ARCH: "amd64"
GIT_TAG: "devel"
deploy:
kustomize:
paths:
- manifests/test
- image: gcr.io/k8s-staging-metrics-server/metrics-server
docker:
dockerfile: Dockerfile
buildArgs:
ARCH: "amd64"
GIT_TAG: "devel"

profiles:
- name: test
deploy:
kustomize:
paths:
- manifests/test
- name: test-ha
deploy:
kustomize:
paths:
- manifests/test-ha
- manifests/test-ha
- name: helm
deploy:
helm:
releases:
- name: metrics-server
namespace: kube-system
artifactOverrides:
imageKey: gcr.io/k8s-staging-metrics-server/metrics-server
chartPath: charts/metrics-server
setValueTemplates:
image.repository: "{{.IMAGE_REPO}}"
image.tag: "{{.IMAGE_TAG}}"
setValues:
podLabels: { k8s-app: metrics-server }
containerPort: 4443
valuesFiles:
- charts/metrics-server/ci/ci-values.yaml
11 changes: 6 additions & 5 deletions test/test-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
set -e

: ${NODE_IMAGE:?Need to set NODE_IMAGE to test}
: ${SKAFFOLD_PROFILE:-""}
: ${SKAFFOLD_PROFILE:="test"}


KIND_VERSION=0.14.0
SKAFFOLD_VERSION=1.38.0
HELM_VERSION=3.7.1
HELM_VERSION=3.10.2

delete_cluster() {
${KIND} delete cluster --name=e2e &> /dev/null || true
Expand All @@ -22,9 +22,10 @@ setup_helm() {
if ! [[ $(${HELM} version |grep Version |awk -F'Version:' '{print $2}' |awk -F',' '{print $1}') == "\"v${HELM_VERSION}\"" ]] ; then
echo "helm not found or bad version, downloading binary"
mkdir -p _output
wget https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz
tar -zxvf helm-v${HELM_VERSION}-linux-amd64.tar.gz
mv linux-amd64/helm _output/helm
curl -Lo /tmp/helm.tar.gz "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz"
tar -xzf /tmp/helm.tar.gz -C /tmp
rm -f /tmp/helm.tar.gz
mv -f /tmp/linux-amd64/helm _output/helm
chmod +x _output/helm
HELM=_output/helm
fi
Expand Down

0 comments on commit e80450b

Please sign in to comment.