From 0c29b57d5bf25d832f9625e6538c90332b1402f1 Mon Sep 17 00:00:00 2001 From: calvix Date: Wed, 13 Jul 2022 15:43:24 +0200 Subject: [PATCH] remove-ssh-lookup (#58) --- CHANGELOG.md | 1 + CODEOWNERS | 2 +- helm/cluster-aws/files/etc/ssh/trusted-user-ca-keys.pem | 5 +---- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35d3d727..26072127 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add team label to helm resources. - Add `values.schema.json` file. +- Remove helm lookup function for SSH CA cert and use value fro central vault instead. ## [0.4.0] - 2022-04-14 diff --git a/CODEOWNERS b/CODEOWNERS index bd96d49d..3bc0d833 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,2 +1,2 @@ # generated by giantswarm/github actions - changes will be overwritten -* @giantswarm/team-phoenix +* @giantswarm/team-hydra diff --git a/helm/cluster-aws/files/etc/ssh/trusted-user-ca-keys.pem b/helm/cluster-aws/files/etc/ssh/trusted-user-ca-keys.pem index 92167f62..529eae32 100644 --- a/helm/cluster-aws/files/etc/ssh/trusted-user-ca-keys.pem +++ b/helm/cluster-aws/files/etc/ssh/trusted-user-ca-keys.pem @@ -1,4 +1 @@ -{{- $secret := (lookup "v1" "Secret" "giantswarm" "cluster-api-provider-aws-ssh-sso-pub-key" ) -}} -{{- if $secret -}} -{{- (index $secret.data "value") | b64dec -}} -{{- end -}} +{{ .Values.sshSSOPublicKey }}