Skip to content

Commit

Permalink
rename secret
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 committed May 6, 2024
1 parent e65a26a commit 078a747
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (

type Config struct {
BaseNamespace string `envconfig:"default=kyma-system"`
BaseDefaultSecretName string `envconfig:"default=internal-dockerregistry-config"`
BaseDefaultSecretName string `envconfig:"default=dockerregistry-config"`
ExcludedNamespaces []string `envconfig:"default=kyma-system"`
ConfigMapRequeueDuration time.Duration `envconfig:"default=1m"`
SecretRequeueDuration time.Duration `envconfig:"default=1m"`
Expand Down
2 changes: 1 addition & 1 deletion components/operator/internal/registry/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
SecretName = "internal-dockerregistry-config"
SecretName = "dockerregistry-config"
LabelConfigKey = "dockerregistry.kyma-project.io/config"
LabelConfigVal = "credentials"
IsInternalKey = "isInternal"
Expand Down
2 changes: 1 addition & 1 deletion config/docker-registry/templates/registry-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apiVersion: v1
kind: Secret
type: kubernetes.io/dockerconfigjson
metadata:
name: internal-dockerregistry-config
name: dockerregistry-config
namespace: {{ .Release.Namespace }}
labels:
dockerregistry.kyma-project.io/config: credentials
Expand Down
2 changes: 1 addition & 1 deletion config/docker-registry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ extraVolumeMounts:
extraVolumes:
- name: registry-credentials
secret:
secretName: internal-dockerregistry-config
secretName: dockerregistry-config
items:
- key: username
path: username.txt
Expand Down

0 comments on commit 078a747

Please sign in to comment.