Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use images from GHCR instead of DockerHub #269

Merged
merged 10 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ghcr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
tags: ['*']
pull_request:
branches: ['master']
types:
- opened
- reopened
- synchronize
schedule:
- cron: '42 6 * * SUN'

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- opened
- reopened
- synchronize
- edited
push:
branches:
- main
Expand Down Expand Up @@ -36,10 +37,10 @@ jobs:
sealed-secrets/sealed-secrets
- name: Build and upload images
run: |
docker build -t kubesealwebgui/api:snapshot -f Dockerfile.api .
docker build -t kubesealwebgui/ui:snapshot -f Dockerfile.ui .
kind load docker-image --name chart-testing kubesealwebgui/api:snapshot
kind load docker-image --name chart-testing kubesealwebgui/ui:snapshot
docker build -t ghcr.io/jaydee94/kubeseal-webgui/api:snapshot -f Dockerfile.api .
docker build -t ghcr.io/jaydee94/kubeseal-webgui/ui:snapshot -f Dockerfile.ui .
kind load docker-image --name chart-testing ghcr.io/jaydee94/kubeseal-webgui/api:snapshot
kind load docker-image --name chart-testing ghcr.io/jaydee94/kubeseal-webgui/ui:snapshot
- name: Deploy stuff
run: |
kubectl create namespace kubeseal-webgui
Expand Down
2 changes: 1 addition & 1 deletion chart/kubeseal-webgui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: kubeseal-webgui
description: A Helm chart for installing kubeseal-webgui
version: 5.2.5
version: 6.0.0
appVersion: 4.5.0
88 changes: 49 additions & 39 deletions chart/kubeseal-webgui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,53 +12,63 @@ helm install kubeseal-webgui kubesealwebgui/kubeseal-webgui --namespace <namespa
helm install kubeseal-webgui kubesealwebgui/kubeseal-webgui --namespace <namespacename> --set ingress.enabled=true --set api.url="http://kubeseal-webgui.example.com" --set sealedSecrets.autoFetchCert=true
```

## Upgrade from 5.X.X to 6.X.X

**IMAGES have been moved to GitHub Container Registry!!!**

Container Images are now uploaded to the GitHub Registry instead of DockerHub.

[API-Image](https://github.com/Jaydee94/kubeseal-webgui/pkgs/container/kubeseal-webgui%2Fapi)

[UI-Image](https://github.com/Jaydee94/kubeseal-webgui/pkgs/container/kubeseal-webgui%2Fui)

## Uninstalling the Chart

```console
To uninstall/delete the my-release deployment:

```console
Jaydee94 marked this conversation as resolved.
Show resolved Hide resolved
helm uninstall kubeseal-webgui kubesealwebgui/kubeseal-webgui --namespace <namespacename>
```

The command removes all the Kubernetes components associated with the chart and deletes the release.

## Configuration

| Parameter | Description | Default |
| ----------------------------------------- | ------------------------------------------------- | ----------------------------- |
| `replicaCount` | Number of nodes | `1` |
| `annotations` | Optional annotations for the pods | `{}` |
| `api.image.repository` | Image-Repository and name of the api image. | `kubesealwebgui/api` |
| `api.image.tag` | Image Tag of the api image. | `4.5.0` |
| `api.environment` | Additional env variables for the api image. | `{}` |
| `api.loglevel` | Loglevel for the api image. | `INFO` |
| `ui.image.repository` | Image-Repository and name of the ui image. | `kubesealwebgui/ui` |
| `ui.image.tag` | Image Tag of the ui image. | `4.5.0` |
| `image.pullPolicy` | Image Pull Policy | `Always` |
| `nameOverride` | Name-Override for the objects | `""` |
| `fullnameOverride` | Fullname-Override for the objects | `""` |
| `customServiceAccountName` | Optionallyn define your own serviceaccount to use | `true` |
| `tolerations` | Add tolerations to the deployment. | `[]` |
| `affinity` | Add affinity rules to the deployment. | `{}` |
| `nodeSelector` | Add a nodeSelector to the deployment. | `{}` |
| `displayName` | Optional display name for the kubeseal instance | `""` |
| `resources.limits.cpu` | Limits CPU | `""` |
| `resources.limits.memory` | Limits memory | `256Mi` |
| `resources.requests.cpu` | Requests CPU | `20m` |
| `resources.requests.memory` | Requests memory | `20m` |
| `ingress.enabled` | Enable an ingress route | `false` |
| `ingress.annotations` | Additional annotations for the ingress object. | `{}` |
| `ingress.ingressClassName` | Additional ingressClassName. | `""` |
| `ingress.hostname` | The hostname for the ingress route | `kubeseal-webgui.example.com` |
| `ingress.tls.enabled` | Enable TLS for the ingress route | `false` |
| `ingress.tls.secretName` | The secret name for private and public key | `""` |
| `route.enabled` | Deploy OpenShift route | `false` |
| `route.hostname` | Set Hostname of the route | `""` |
| `route.tls.enabled` | Enable/Disable TLS for OpenShift Route | `true` |
| `route.tls.termination` | TLS Termination of the route | `""` |
| `route.tls.insecureEdgeTerminationPolicy` | TLS insecureEdgeTerminationPolicy of the route | `""` |
| `sealedSecrets.autoFetchCert` | Load the cert from the Controller on start | `false` |
| `sealedSecrets.controllerName` | Deployment name of the Controller | `sealed-secrets-controller` |
| `sealedSecrets.controllerNamespace` | Namespace the Controller resides in | `kube-system` |
| `sealedSecrets.cert` | Public-Key of your SealedSecrets controller | `""` |
| `api.environment` | Additional API environment variables | `{}` |
| Parameter | Description | Default |
|-------------------------------------------|---------------------------------------------------|----------------------------------------|
| `replicaCount` | Number of nodes | `1` |
| `annotations` | Optional annotations for the pods | `{}` |
| `api.image.repository` | Image-Repository and name of the api image. | `ghcr.io/jaydee94/kubeseal-webgui/api` |
| `api.image.tag` | Image Tag of the api image. | `4.5.0` |
| `api.environment` | Additional env variables for the api image. | `{}` |
| `api.loglevel` | Loglevel for the api image. | `INFO` |
| `ui.image.repository` | Image-Repository and name of the ui image. | `ghcr.io/jaydee94/kubeseal-webgui/ui` |
| `ui.image.tag` | Image Tag of the ui image. | `4.5.0` |
| `image.pullPolicy` | Image Pull Policy | `Always` |
| `nameOverride` | Name-Override for the objects | `""` |
| `fullnameOverride` | Fullname-Override for the objects | `""` |
| `customServiceAccountName` | Optionallyn define your own serviceaccount to use | `true` |
| `tolerations` | Add tolerations to the deployment. | `[]` |
| `affinity` | Add affinity rules to the deployment. | `{}` |
| `nodeSelector` | Add a nodeSelector to the deployment. | `{}` |
| `displayName` | Optional display name for the kubeseal instance | `""` |
| `resources.limits.cpu` | Limits CPU | `` |
| `resources.limits.memory` | Limits memory | `256Mi` |
| `resources.requests.cpu` | Requests CPU | `20m` |
| `resources.requests.memory` | Requests memory | `20m` |
| `ingress.enabled` | Enable an ingress route | `false` |
| `ingress.annotations` | Additional annotations for the ingress object. | `{}` |
| `ingress.ingressClassName` | Additional ingressClassName. | `""` |
| `ingress.hostname` | The hostname for the ingress route | `kubeseal-webgui.example.com` |
| `ingress.tls.enabled` | Enable TLS for the ingress route | `false` |
| `ingress.tls.secretName` | The secret name for private and public key | `""` |
| `route.enabled` | Deploy OpenShift route | `false` |
| `route.hostname` | Set Hostname of the route | `""` |
| `route.tls.enabled` | Enable/Disable TLS for OpenShift Route | `true` |
| `route.tls.termination` | TLS Termination of the route | `""` |
| `route.tls.insecureEdgeTerminationPolicy` | TLS insecureEdgeTerminationPolicy of the route | `""` |
| `sealedSecrets.autoFetchCert` | Load the cert from the Controller on start | `false` |
| `sealedSecrets.controllerName` | Deployment name of the Controller | `sealed-secrets-controller` |
| `sealedSecrets.controllerNamespace` | Namespace the Controller resides in | `kube-system` |
| `sealedSecrets.cert` | Public-Key of your SealedSecrets controller | `""` |
| `api.environment` | Additional API environment variables | `{}` |
4 changes: 2 additions & 2 deletions chart/kubeseal-webgui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ api:
# is used by the UI to locate the API.
url: http://localhost:8080
image:
repository: kubesealwebgui/api
repository: ghcr.io/jaydee94/kubeseal-webgui/api
tag: 4.5.0
environment: {}
loglevel: "INFO"
ui:
image:
repository: kubesealwebgui/ui
repository: ghcr.io/jaydee94/kubeseal-webgui/ui
tag: 4.5.0
image:
pullPolicy: Always
Expand Down
Loading