Skip to content

Commit

Permalink
[installer]: add customization to docker registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Emms committed Jun 28, 2022
1 parent bbf2f64 commit deeb619
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install/installer/pkg/components/docker-registry/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ var Helm = common.CompositeHelmFunc(
}
}

// Append the custom parameters
registryValues = helm.CustomizeAnnotation(registryValues, "docker-registry.podAnnotations", cfg, Component, common.TypeMetaDeployment)
registryValues = helm.CustomizeLabel(registryValues, "docker-registry.podLabels", cfg, Component, common.TypeMetaDeployment)
registryValues = helm.CustomizeAnnotation(registryValues, "docker-registry.service.annotations", cfg, Component, common.TypeMetaService)
registryValues = helm.CustomizeEnvvar(registryValues, "docker-registry.extraEnvVars", cfg, Component)

inCluster := pointer.BoolDeref(cfg.Config.ContainerRegistry.InCluster, false)
s3Storage := cfg.Config.ContainerRegistry.S3Storage
enablePersistence := "true"
Expand Down

0 comments on commit deeb619

Please sign in to comment.