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

feat: swapped redis for valkey and updated gitlab uds pkg #146

Merged
merged 1 commit into from
Jul 11, 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
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