Skip to content

Commit 4ce4c8a

Browse files
committed
Merge branch 'main' into merge/update-with-upstream-artie-labs
Conflicts: Dockerfile
2 parents 2707749 + f22a295 commit 4ce4c8a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ARG KUBERNETES_VERSION=1.31.7
1010
# gcloud version: https://cloud.google.com/sdk/docs/release-notes
1111
ARG GCLOUD_VERSION=500.0.0
1212
ARG DOCTL_VERSION=1.57.0
13+
ARG AWSCLI_VERSION=2.13.25-r0
1314
ARG HELM_PLUGINS_TO_INSTALL="https://github.com/databus23/helm-diff"
1415

1516

1617
#gcloud path
1718
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
1819

1920
#install packages
20-
RUN apk add --update --upgrade --no-cache jq bash curl git gettext libintl py-pip aws-cli
21+
RUN apk add --update --upgrade --no-cache jq bash curl git gettext libintl py-pip
2122

2223
#install kubectl
2324
RUN curl -sL -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl; \
@@ -27,6 +28,9 @@ RUN curl -sL -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes
2728
RUN wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_VERSION}-linux-x86_64.tar.gz \
2829
-O /tmp/google-cloud-sdk.tar.gz | bash
2930

31+
#install awscli
32+
RUN pip install awscli==${AWSCLI_VERSION}
33+
3034
# For use with gke-gcloud-auth-plugin below
3135
# see https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
3236
# for details

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Deploy an helm chart
120120
the file in that path. A `hide: true` parameter ensures that the value is not logged and instead replaced with `***HIDDEN***`.
121121
A `type: string` parameter makes sure Helm always treats the value as a string (uses the `--set-string` option to Helm; useful if the value varies
122122
and may look like a number, eg. if it's a Git commit hash).
123-
A `type: file` parameter makes Helm treats the `path` as file (uses the `--set-file` option to Helm).
123+
A `type: file` parameter makes Helm treats the `path` as file (uses the `--set-file` option to Helm).
124124
A `verbatim: true` parameter escapes backslashes so the value is passed as-is to the Helm chart (useful for `((credentials))`).
125125
The default behaviour of backslashes in `--set` is to quote the next character so `val\ue` is treated as `value` by Helm.
126126
- `token_path`: _Optional._ Path to file containing the bearer token for Kubernetes. This, 'token' or `admin_key`/`admin_cert` are required if `cluster_url` is https.
@@ -254,7 +254,7 @@ jobs:
254254
path: version/image_tag # Read value from version/number
255255
type: string # Make sure it's interpreted as a string by Helm (not a number)
256256
- key: configuration
257-
path: configuration/production.yaml # add path to --set-file helm option
257+
path: configuration/production.yaml # add path to --set-file helm option
258258
type: file # use --set-file helm option ( --set-file configuration=configuration/production.yaml )
259259
# ...
260260
```

0 commit comments

Comments
 (0)