Skip to content

Commit

Permalink
feat: apl-console linode dockerhub (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferruhcihan authored Aug 16, 2024
1 parent 183a8b1 commit 1cd5dac
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/otomi-console/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

image:
registry: docker.io
repository: otomi/console
repository: linode/apl-console
tag: latest
pullPolicy: IfNotPresent

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
GCLOUD_SERVICE_KEY: ${GCLOUD_SERVICE_KEY}

web:
image: otomi/console:${WEB_TAG:-latest}
image: linode/apl-console:${WEB_TAG:-latest}
container_name: web
expose:
- 80
Expand Down
4 changes: 2 additions & 2 deletions helmfile.d/snippets/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ environments:
container.image.repository in (
docker.io/otomi/tasks,
docker.io/otomi/api,
docker.io/otomi/console,
docker.io/linode/apl-console,
docker.io/gitea/gitea,
docker.io/grafana/grafana
) or (k8s.ns.name = "ingress")
Expand All @@ -180,7 +180,7 @@ environments:
- macro: excessively_capable_container
condition: (
container.image.repository in (
docker.io/otomi/console,
docker.io/linode/apl-console,
docker.io/otomi/api
) or (k8s.ns.name = "keycloak")
)
Expand Down
3 changes: 2 additions & 1 deletion helmfile.d/snippets/job.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
{{- $skipScript := . | get "skipScript" false }}
{{- $task := . | get "task" nil }}
{{- $type := . | get "type" "job" }}
{{- $repositoryPrefix := default "otomi/" (index . "repositoryPrefix" | default "") }}
image:
registry: docker.io
repository: otomi/{{ .item }}
repository: {{ $repositoryPrefix }}{{ .item }}
tag: {{ printf "%s%s" ($isSemver | ternary "v" "") $version }}
pullPolicy: {{ $isSemver | ternary "IfNotPresent" "Always" }}
{{ if $v._derived.untrustedCA }}
Expand Down
2 changes: 1 addition & 1 deletion values/keycloak-operator/keycloak-operator-cr.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
emptyDir: {}
initContainers:
- name: init-container-theme-copy # Otomi branding init container
image: docker.io/otomi/console:{{ $v.versions.console }}
image: docker.io/linode/apl-console:{{ $v.versions.console }}
resources: {{ $k.resources.keycloak | toYaml | nindent 12 }}
command:
- sh
Expand Down
2 changes: 1 addition & 1 deletion values/otomi-console/otomi-console.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
memory: 128Mi
{{- end }}

{{- tpl (readFile "../../helmfile.d/snippets/job.gotmpl") (dict "item" "console" "v" $v "skipScript" true) }}
{{- tpl (readFile "../../helmfile.d/snippets/job.gotmpl") (dict "repositoryPrefix" "linode/apl-" "item" "console" "v" $v "skipScript" true ) }}

env:
API_BASE_URL: /api
Expand Down

0 comments on commit 1cd5dac

Please sign in to comment.