Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
16fa128e
Commit
16fa128e
authored
Nov 28, 2022
by
Brad Davidson
Committed by
Brad Davidson
Nov 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix passing AWS creds through Dapper
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
4e2e91e0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
Dockerfile.dapper
Dockerfile.dapper
+1
-1
build-upload
scripts/build-upload
+2
-0
log-upload
scripts/log-upload
+2
-0
No files found.
Dockerfile.dapper
View file @
16fa128e
...
...
@@ -44,7 +44,7 @@ ARG SELINUX=true
ENV SELINUX $SELINUX
ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/k3s-io/k3s/.cache -v trivy-cache:/root/.cache/trivy
ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE SKIP_AIRGAP
GCLOUD_AUTH
GITHUB_TOKEN GOLANG DEBUG
ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE SKIP_AIRGAP
AWS_SECRET_ACCESS_KEY AWS_ACCESS_KEY_ID
GITHUB_TOKEN GOLANG DEBUG
ENV DAPPER_SOURCE /go/src/github.com/k3s-io/k3s/
ENV DAPPER_OUTPUT ./bin ./dist ./build/out ./build/static ./pkg/static ./pkg/deploy
...
...
scripts/build-upload
View file @
16fa128e
...
...
@@ -2,9 +2,11 @@
# Check for AWS Credentials
[
-n
"
$AWS_SECRET_ACCESS_KEY
"
]
||
{
echo
"AWS_SECRET_ACCESS_KEY is not set"
exit
0
}
[
-n
"
$AWS_ACCESS_KEY_ID
"
]
||
{
echo
"AWS_ACCESS_KEY_ID is not set"
exit
0
}
...
...
scripts/log-upload
View file @
16fa128e
...
...
@@ -2,9 +2,11 @@
# Check for AWS Credentials
[
-n
"
$AWS_SECRET_ACCESS_KEY
"
]
||
{
echo
"AWS_SECRET_ACCESS_KEY is not set"
exit
0
}
[
-n
"
$AWS_ACCESS_KEY_ID
"
]
||
{
echo
"AWS_ACCESS_KEY_ID is not set"
exit
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment