Skip to content

Commit

Permalink
feat: swapped redis for valkey and updated gitlab uds pkg version to …
Browse files Browse the repository at this point in the history
…v17.1.1-uds1 (#146)
  • Loading branch information
JoeHCQ1 authored Jul 11, 2024
1 parent 4d90054 commit 07282ae
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 49 deletions.
36 changes: 26 additions & 10 deletions bundles/uds-core-swf/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,27 @@ packages:
ref: 0.0.2

# Gitlab
- name: gitlab-redis
repository: ghcr.io/defenseunicorns/packages/uds/dev-redis
ref: 0.0.2

- name: gitlab-redis-secret
path: ../../build
ref: 0.0.1
- name: gitlab-valkey
repository: ghcr.io/defenseunicorns/packages/uds/valkey
ref: 7.2.5-uds.1-upstream
overrides:
valkey:
uds-valkey-config:
values:
- path: custom
value:
- direction: Ingress
selector:
app.kubernetes.io/name: valkey
remoteNamespace: gitlab
port: 6379
description: "Ingress from GitLab"
- path: copyPassword
value:
enabled: true
namespace: gitlab
secretName: gitlab-redis
secretKey: password

- name: gitlab-object-store
path: ../../build
Expand All @@ -415,7 +429,7 @@ packages:

- name: gitlab
repository: ghcr.io/defenseunicorns/packages/uds/gitlab
ref: 17.0.2-uds.0-registry1
ref: 17.1.1-uds.1-registry1
overrides:
gitlab:
uds-gitlab-config:
Expand All @@ -428,8 +442,8 @@ packages:
value:
internal: true
selector:
app.kubernetes.io/instance: redis
namespace: dev-redis
app.kubernetes.io/name: valkey
namespace: valkey
port: 6379
gitlab:
values:
Expand All @@ -456,6 +470,8 @@ packages:
value: *gitlab-init-security-context
- path: gitlab.gitaly.init.containerSecurityContext
value: *gitlab-init-security-context
- path: global.redis.host
value: "valkey-master.valkey.svc.cluster.local"

variables:
- name: MIGRATIONS_RESOURCES
Expand Down
8 changes: 0 additions & 8 deletions packages/gitlab-redis/redis-secret.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions packages/gitlab-redis/zarf.yaml

This file was deleted.

1 change: 0 additions & 1 deletion tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ tasks:
actions:
- task: create:build-dir
- task: create:database-manifest-packages
- task: create:gitlab-redis-secret-package
- task: create:keycloak-config-wrapper-package
- task: create:namespaces-package
- task: create:object-store-packages
Expand Down
5 changes: 0 additions & 5 deletions tasks/create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ tasks:
- cmd: ./uds zarf package create ./packages/databases/jira/secret --confirm --no-progress --architecture=${ARCH} --skip-sbom --output ./build
- cmd: ./uds zarf package create ./packages/databases/sonarqube/secret --confirm --no-progress --architecture=${ARCH} --skip-sbom --output ./build

- name: gitlab-redis-secret-package
description: Create package for the gitlab redis secret
actions:
- cmd: ./uds zarf package create ./packages/gitlab-redis --confirm --no-progress --architecture=${ARCH} --skip-sbom --output ./build

- name: keycloak-config-wrapper-package
description: Create the keycloak configurations shim loader
actions:
Expand Down

0 comments on commit 07282ae

Please sign in to comment.