Skip to content

Commit f48018c

Browse files
authored
Merge pull request #71 from kmala/master
fix(charts):Use the common storage secret
2 parents e903d9e + e4bbb57 commit f48018c

3 files changed

Lines changed: 3 additions & 80 deletions

File tree

charts/registry/templates/registry-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ spec:
6161
volumeMounts:
6262
- name: registry-storage
6363
mountPath: /var/lib/registry
64-
- name: registry-creds
64+
- name: objectstorage-creds
6565
mountPath: /var/run/secrets/deis/registry/creds
6666
volumes:
6767
- name: registry-storage
6868
emptyDir: {}
69-
- name: registry-creds
69+
- name: objectstorage-creds
7070
secret:
71-
secretName: registry-storage-keyfile
71+
secretName: objectstorage-keyfile
7272
{{- end }}

charts/registry/templates/registry-storage-secret.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

charts/registry/values.yaml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,3 @@ pull_policy: "Always"
33
docker_tag: canary
44
# limits_cpu: "100m"
55
# limits_memory: "50Mi"
6-
7-
global:
8-
# Set the storage backend
9-
#
10-
# Valid values are:
11-
# - s3: Store persistent data in AWS S3 (configure in S3 section)
12-
# - azure: Store persistent data in Azure's object storage
13-
# - gcs: Store persistent data in Google Cloud Storage
14-
# - minio: Store persistent data on in-cluster Minio server
15-
storage: ""
16-
17-
# Set the location of Workflow's Registry
18-
#
19-
# Valid values are:
20-
# - on-cluster: Run registry within the Kubernetes cluster
21-
# - off-cluster: Use registry outside the Kubernetes cluster (example: dockerhub,quay.io,self-hosted)
22-
# - ecr: Use Amazon's ECR
23-
# - gcr: Use Google's GCR
24-
registry_location: "on-cluster"
25-
26-
27-
s3:
28-
# Your AWS access key. Leave it empty if you want to use IAM credentials.
29-
accesskey: ""
30-
# Your AWS secret key. Leave it empty if you want to use IAM credentials.
31-
secretkey: ""
32-
# Any S3 region
33-
region: "us-west-1"
34-
# Your buckets.
35-
registry_bucket: "your-registry-bucket-name"
36-
37-
azure:
38-
accountname: "YOUR ACCOUNT NAME"
39-
accountkey: "YOUR ACCOUNT KEY"
40-
registry_container: "your-registry-container-name"
41-
42-
gcs:
43-
# key_json is expanded into a JSON file on the remote server. It must be
44-
# well-formatted JSON data.
45-
key_json: ''
46-
registry_bucket: "your-registry-bucket-name"
47-
48-
swift:
49-
username: "Your OpenStack Swift Username"
50-
password: "Your OpenStack Swift Password"
51-
authurl: "Swift auth URL for obtaining an auth token"
52-
# Your OpenStack tenant name if you are using auth version 2 or 3.
53-
tenant: ""
54-
authversion: "Your OpenStack swift auth version"
55-
registry_container: "your-registry-container-name"

0 commit comments

Comments
 (0)