Skip to content

Commit

Permalink
fix: add missing value in values.yaml for secrets mount (#3614)
Browse files Browse the repository at this point in the history
* add missing value in values.yaml for secrets mount

* increase log level

* fix image version
  • Loading branch information
Panaetius authored and lokijuhy committed May 27, 2024
1 parent e63d0ad commit 82675d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,10 @@ notebooks:
targetCPUUtilizationPercentage: 50
minReplicas: 2
maxReplicas: 5
secretsMount:
image:
repository: renku/secrets-mount
tag: "1.22.1"
ssh:
enabled: false
image:
Expand Down Expand Up @@ -1641,7 +1645,7 @@ authz:
secretsStorage:
image:
repository: renku/secrets-storage
tag: "0.1.0"
tag: "v0.9.0"
pullPolicy: IfNotPresent
service:
type: ClusterIP
Expand Down
4 changes: 3 additions & 1 deletion scripts/platform-init/platform-init.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def init_secret_and_data_service_encryption(config: Config):
logging.info("Initializing data service encryption")
v1 = k8s_client.CoreV1Api()

encryption_key = f"{config.renku_fullname}-secret-storage"
encryption_key = f"{config.renku_fullname}-secrets-storage"
encryption_key_name = "encryptionKey"
existing_encryption_key = _get_k8s_secret(
config.k8s_namespace, encryption_key, encryption_key_name
Expand Down Expand Up @@ -191,8 +191,10 @@ def init_secret_and_data_service_encryption(config: Config):
def main():
config = Config.from_env()
k8s_config.load_incluster_config()
logging.basicConfig(level=logging.INFO)
logging.info("Initializing Renku platform")
init_secret_service_secret(config)
init_secret_and_data_service_encryption(config)


if __name__ == "__main__":
Expand Down

0 comments on commit 82675d0

Please sign in to comment.