Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-helmfiles
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8201f94b
authored
2022-02-09 11:32:00 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Have registry use redis.
1 parent
a87b1c0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
13 deletions
registry/helmfile.yaml
registry/registry.yaml
registry/helmfile.yaml
View file @
8201f94
...
...
@@ -14,8 +14,16 @@ environments:
images
:
debian
:
"
debian:bullseye-20211220"
registry
:
"
registry:2"
redis
:
"
redis:6.2.6"
---
helmfiles
:
-
path
:
../redis/helmfile.yaml
values
:
-
namespace
:
{{
.Values.namespace
}}
namePrefix
:
{{
.Values.namePrefix
}}
registry-
images
:
redis
:
{{
.Values.images.redis
}}
releases
:
-
name
:
{{
.Values.namePrefix
}}
registry
...
...
@@ -58,18 +66,21 @@ releases:
-
name
:
registry-data
persistentVolumeClaim
:
claimName
:
{{
.Values.namePrefix
}}
registry-data
-
name
:
registry-config
configMap
:
name
:
{{
.Values.namePrefix
}}
registry-config
-
name
:
registry-secret
secret
:
secretName
:
{{
.Values.namePrefix
}}
registry-secret
containers
:
-
name
:
registry
envFrom
:
-
configMapRef
:
name
:
{{
.Values.namePrefix
}}
registry-config
-
secretRef
:
name
:
{{
.Values.namePrefix
}}
registry-secret
-
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
{{
.Values.namePrefix
}}
registry-config
namespace
:
{{
.Values.namespace
}}
data
:
REGISTRY_REDIS_ADDR
:
{{
.Values.namePrefix
}}
registry-redis.{{ .Values.namespace }}.svc.cluster.local
REGISTRY_STORAGE_CACHE_BLOBDESCRIPTOR
:
redis
-
apiVersion
:
v1
kind
:
Secret
metadata
:
...
...
registry/registry.yaml
View file @
8201f94
...
...
@@ -38,16 +38,15 @@ spec:
-
name
:
registry-data
persistentVolumeClaim
:
claimName
:
registry-data
-
name
:
registry-config
configMap
:
name
:
registry-config
-
name
:
registry-secret
secret
:
secretName
:
registry-secret
containers
:
-
name
:
registry
image
:
registry:2
envFrom
:
-
configMapRef
:
name
:
registry-config
-
secretRef
:
name
:
registry-secret
volumeMounts
:
-
name
:
registry-data
mountPath
:
/var/lib/registry
...
...
Please
register
or
sign in
to post a comment