{"id":25125738,"url":"https://github.com/denimar/helm-library-basic-chart-api","last_synced_at":"2026-01-12T09:42:45.106Z","repository":{"id":80409219,"uuid":"403333638","full_name":"denimar/helm-library-basic-chart-api","owner":"denimar","description":"helm-library-basic-chart-api","archived":false,"fork":false,"pushed_at":"2021-09-05T22:14:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T18:52:06.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denimar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-05T14:46:00.000Z","updated_at":"2021-09-05T22:14:42.000Z","dependencies_parsed_at":"2023-05-03T23:30:47.238Z","dependency_job_id":null,"html_url":"https://github.com/denimar/helm-library-basic-chart-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/denimar/helm-library-basic-chart-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fhelm-library-basic-chart-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fhelm-library-basic-chart-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fhelm-library-basic-chart-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fhelm-library-basic-chart-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denimar","download_url":"https://codeload.github.com/denimar/helm-library-basic-chart-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fhelm-library-basic-chart-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-08T09:15:31.329Z","updated_at":"2026-01-12T09:42:45.101Z","avatar_url":"https://github.com/denimar.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Simple guide.\n\nThis chart is intentionally kept simple to support a web api.\noptionally you can specify a `healthCheckPort` which then looks for liveness and readiness probes configured at `/health/live` and `/health/ready`. Rest of the values are explanatory. \n\n### Configuration per environment\n- Look at `env` folder.\n- create a yaml file such as `config.{env}.yaml`.\n\n### secrets\n- secrets are injected as config map\n- store them in `env` folder with name such as `secrets.{env}.yaml`\n- you will need to use helm secrets to edit encrypted secrets.\n\n### installing the charts\n```\nhelm secrets install bg helm/ --set env=dev --values helm/env/secrets.dev.yaml\n```\n\n### Using this chart - help.\n1. create a basic helm chart: `helm create \u003cyour chart\u003e`\n2. Delete all files under \"templates\".\n3. Create a single file with the following contents. This will import the needed pieces\n```\n{{ include \"basicapi.configmap\" .}}\n---\n{{ include \"basicapi.deployment\" .}}\n---\n```\n4. Go to Chart.yaml and add the following åt the end. \n```\ndependencies:\n  - name : basicapi\n    version: \u003cversion\u003e\n    repository: \u003crepo\u003e\n```\nThen update using `helm dependency update \u003cchart path\u003e`.\n5. Create a values.yaml, env/config.dev.yaml, env/secrets.dev.yaml\n```\n#values.yaml\nenv: dev\nlabels:\n  system: oxygen\n  jobKind: background\nreplicas: 1\ncontainer:\n  image: krishna/background\n  tag: latest\n#healthCheckPort: 3000\nhttpPort: 80\nresources: \n  limits:\n    cpu: 300m\n    memory: 256Mi\n  requests:\n    cpu: 300m\n    memory: 256Mi\nmigrations:\n  image: #if not set, uses the container image itself\n  command:\n  args: \ningressHostName: dev-hydrogen-api.shopolive.team\nconfigMapFile: # when specified, this will replace config.\u003cenv\u003e.yaml. Note that config is still looked for within the env directory.\nsecretsFile: # when specified, this will replace secrets.\u003cenv\u003e.yaml. Note that config is still looked for within the env directory.\n```\n6. You may want to configure `.sops.yaml` for handling secrets. And encrypt using `helm secrets enc helm-chart/env/secrets.dev.yaml`\n7. Additional commands that are helpful.\n```\nhelm template chartname/ --debug\nhelm secrets install bg chartname/ --set env=dev --values deploy/env/secrets.dev.yaml\nheml uninstall bg\n```\n8. Note that this this will automatically enable TLS using LetsEncrypt.\n\n## More changes.\n1. Added support for specifying annotations on deployments. For example:\n```\n#values.yaml\nannotations:\n  dapr.io/enabled: \"true\"\n  dapr.io/app-id: \"hello\"\n  dapr.io/app-port: \"3000\"\n  dapr.io/log-as-json: \"true\"\n```\n2. Added support to specify additional ports when creating a service using `morePorts`. Note that the default port will be named as default unless specified in `httpPortName`. For example:\n```\nhttpPort: 3500\nmorePorts:\n  - port: 9090\n    name: metrics\n```\n3. Updates to the ingress configurations.\n  - You can override the ingress class through values by setting `ingressClass` value.\n  - You can configure additional ingresses using the `moreHttpIngresses` array. Each element in the array shall have `ingressHostName`, `ingressPath`, `ingressServiceName`, `ingressServicePort`. For example:\n  ```\n  moreHttpIngresses:\n    - ingressHostName: rhone.shopolive.com\n      ingressPath: / #defaults to / as well.\n      ingressServiceName: hydrogen-deliveries-service\n      ingressServicePort: 8080\n    - ingressHostName: nike.shopolive.com\n      ingressPath: / #defaults to / as well.\n      ingressServiceName: hydrogen-deliveries-service\n      ingressServicePort: 8080\n  ```\n  - Note that this particular functionality has not been tested.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenimar%2Fhelm-library-basic-chart-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenimar%2Fhelm-library-basic-chart-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenimar%2Fhelm-library-basic-chart-api/lists"}