Skip to content

Commit

Permalink
chore: updates default oci (external-secrets#3903)
Browse files Browse the repository at this point in the history
* chore: updates default oci

Signed-off-by: Gustavo Carvalho <[email protected]>

* fix: make e2e use old repo

Signed-off-by: Gustavo Carvalho <[email protected]>

---------

Signed-off-by: Gustavo Carvalho <[email protected]>
  • Loading branch information
gusfcarvalho authored Sep 13, 2024
1 parent edb5066 commit 7bf0cf2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
6 changes: 3 additions & 3 deletions deploy/charts/external-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The command removes all the Kubernetes components associated with the chart and
| certController.hostNetwork | bool | `false` | Run the certController on the host network |
| certController.image.flavour | string | `""` | |
| certController.image.pullPolicy | string | `"IfNotPresent"` | |
| certController.image.repository | string | `"ghcr.io/external-secrets/external-secrets"` | |
| certController.image.repository | string | `"oci.external-secrets.io/external-secrets/external-secrets"` | |
| certController.image.tag | string | `""` | |
| certController.imagePullSecrets | list | `[]` | |
| certController.log | object | `{"level":"info","timeEncoding":"epoch"}` | Specifices Log Params to the Webhook |
Expand Down Expand Up @@ -111,7 +111,7 @@ The command removes all the Kubernetes components associated with the chart and
| hostNetwork | bool | `false` | Run the controller on the host network |
| image.flavour | string | `""` | The flavour of tag you want to use There are different image flavours available, like distroless and ubi. Please see GitHub release notes for image tags for these flavors. By default, the distroless image is used. |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/external-secrets/external-secrets"` | |
| image.repository | string | `"oci.external-secrets.io/external-secrets/external-secrets"` | |
| image.tag | string | `""` | The image tag to use. The default is the chart appVersion. |
| imagePullSecrets | list | `[]` | |
| installCRDs | bool | `true` | If set, install and upgrade CRDs through helm chart. |
Expand Down Expand Up @@ -185,7 +185,7 @@ The command removes all the Kubernetes components associated with the chart and
| webhook.hostNetwork | bool | `false` | Specifies if webhook pod should use hostNetwork or not. |
| webhook.image.flavour | string | `""` | The flavour of tag you want to use |
| webhook.image.pullPolicy | string | `"IfNotPresent"` | |
| webhook.image.repository | string | `"ghcr.io/external-secrets/external-secrets"` | |
| webhook.image.repository | string | `"oci.external-secrets.io/external-secrets/external-secrets"` | |
| webhook.image.tag | string | `""` | The image tag to use. The default is the chart appVersion. |
| webhook.imagePullSecrets | list | `[]` | |
| webhook.log | object | `{"level":"info","timeEncoding":"epoch"}` | Specifices Log Params to the Webhook |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ should match snapshot of default values:
- --loglevel=info
- --zap-time-encoding=epoch
- --enable-partial-cache=true
image: ghcr.io/external-secrets/external-secrets:v0.10.3
image: oci.external-secrets.io/external-secrets/external-secrets:v0.10.3
imagePullPolicy: IfNotPresent
name: cert-controller
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ should match snapshot of default values:
- --metrics-addr=:8080
- --loglevel=info
- --zap-time-encoding=epoch
image: ghcr.io/external-secrets/external-secrets:v0.10.3
image: oci.external-secrets.io/external-secrets/external-secrets:v0.10.3
imagePullPolicy: IfNotPresent
name: external-secrets
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ should match snapshot of default values:
- --healthz-addr=:8081
- --loglevel=info
- --zap-time-encoding=epoch
image: ghcr.io/external-secrets/external-secrets:v0.10.3
image: oci.external-secrets.io/external-secrets/external-secrets:v0.10.3
imagePullPolicy: IfNotPresent
name: webhook
ports:
Expand Down
6 changes: 3 additions & 3 deletions deploy/charts/external-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ bitwarden-sdk-server:
revisionHistoryLimit: 10

image:
repository: ghcr.io/external-secrets/external-secrets
repository: oci.external-secrets.io/external-secrets/external-secrets
pullPolicy: IfNotPresent
# -- The image tag to use. The default is the chart appVersion.
tag: ""
Expand Down Expand Up @@ -259,7 +259,7 @@ webhook:
# -- Specifies if webhook pod should use hostNetwork or not.
hostNetwork: false
image:
repository: ghcr.io/external-secrets/external-secrets
repository: oci.external-secrets.io/external-secrets/external-secrets
pullPolicy: IfNotPresent
# -- The image tag to use. The default is the chart appVersion.
tag: ""
Expand Down Expand Up @@ -417,7 +417,7 @@ certController:
revisionHistoryLimit: 10

image:
repository: ghcr.io/external-secrets/external-secrets
repository: oci.external-secrets.io/external-secrets/external-secrets
pullPolicy: IfNotPresent
tag: ""
flavour: ""
Expand Down
12 changes: 12 additions & 0 deletions e2e/framework/addon/eso.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,26 @@ func NewESO(mutators ...MutationFunc) *ESO {
Key: "webhook.image.tag",
Value: os.Getenv("VERSION"),
},
{
Key: "webhook.image.repository",
Value: "ghcr.io/external-secrets/external-secrets",
},
{
Key: "certController.image.tag",
Value: os.Getenv("VERSION"),
},
{
Key: "certController.image.repository",
Value: "ghcr.io/external-secrets/external-secrets",
},
{
Key: "image.tag",
Value: os.Getenv("VERSION"),
},
{
Key: "image.repository",
Value: "ghcr.io/external-secrets/external-secrets",
},
{
Key: "extraArgs.loglevel",
Value: "debug",
Expand Down

0 comments on commit 7bf0cf2

Please sign in to comment.