-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48e207a
commit fc430c4
Showing
6 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# ignore for now | ||
dependency-track | ||
opsgenie-marid | ||
mcrouter | ||
github-actions-runner-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
repos: | ||
- repo: https://github.com/norwoodj/helm-docs | ||
rev: v1.6.0 | ||
hooks: | ||
- id: helm-docs | ||
args: | ||
# Make the tool search for charts only under the `example-charts` directory | ||
- --chart-search-root=charts | ||
|
||
# The `./` makes it relative to the chart-search-root set above | ||
#- --template-files=./_templates.gotmpl | ||
|
||
# Repeating the flag adds this to the list, now [./_templates.gotmpl, README.md.gotmpl] | ||
# A base filename makes it relative to each chart directory found | ||
- --template-files=README.md.gotmpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,46 @@ | ||
# ECR-proxy | ||
# ecr-proxy | ||
|
||
Creates a anonymous proxy towards an ECR registry, | ||
so that you can pull images w/o having to deal with the short-lived ECR tokens. | ||
   | ||
|
||
## Installing | ||
A Helm chart for Kubernetes | ||
|
||
`helm repo add evryfs-oss https://evryfs.github.io/helm-charts/` | ||
`helm install evryfs-oss/ecr-proxy --namespace yourNamespace --name ecr-proxy` | ||
**Homepage:** <https://github.com/Lotto24/aws-ecr-http-proxy/> | ||
|
||
## Configuration | ||
## Maintainers | ||
|
||
See `values.yaml` for configuration options. The most noticeable ones are the secrets. | ||
Either point to an existing secret in `secret.existingSecret` or | ||
enable secret configuration through `secret.create` and set the values in `secret.awsAccessKeyId` and `secret.awsSecretAccessKey`. | ||
Use the `env`section to set the rest of the variables. | ||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| davidkarlsen | [email protected] | | | ||
|
||
## Source Code | ||
|
||
## Weaknesses / TODOs | ||
Could have a PVC for cache but I did not bother. | ||
* <https://github.com/evryfs/helm-charts/tree/master/charts/ecr-proxy> | ||
* <https://github.com/Lotto24/aws-ecr-http-proxy/> | ||
* <https://hub.docker.com/r/esailors/aws-ecr-http-proxy/> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| autoscaling | object | `{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}` | enable HPA | | ||
| env | list | `[]` | | | ||
| fullnameOverride | string | `""` | | | ||
| image | object | `{"pullPolicy":"IfNotPresent","repository":"esailors/aws-ecr-http-proxy","tag":"1.4.0"}` | image configuration | | ||
| imagePullSecrets | list | `[]` | | | ||
| ingress | object | `{"annotations":{},"enabled":false,"hosts":[{"host":"chart-example.local","paths":[]}],"tls":[]}` | ingress configuration | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| podAnnotations | object | `{}` | annotations to place on pod | | ||
| podLabels | object | `{}` | | | ||
| podSecurityContext | object | `{}` | security context for the pod | | ||
| replicaCount | int | `1` | | | ||
| resources | object | `{}` | | | ||
| secret | object | `{"annotations":{},"create":false,"existingSecret":""}` | configure secret. AWS tokens go here | | ||
| securityContext | string | `nil` | securityContext for the container | | ||
| service | object | `{"port":80,"type":"ClusterIP"}` | Kubernetes service | | ||
| serviceAccount | object | `{"annotations":{},"create":true,"name":""}` | configure service account | | ||
| tolerations | list | `[]` | | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
if ! command -v helm-docs > /dev/null 2>&1; then | ||
echo "Please install helm-docs to run the pre-commit hook! https://github.com/norwoodj/helm-docs#installation" | ||
exit 1 | ||
fi | ||
|
||
helm-docs "${@}" |