Skip to content

Commit 33014a1

Browse files
authored
fix missing admin console branding (#393)
1 parent ecf2994 commit 33014a1

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

e2e/scripts/check-installation-state.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ main() {
3434
echo "ensure that installation is installed"
3535
wait_for_installation
3636
kubectl get installations --no-headers | grep -q "Installed"
37+
38+
echo "ensure that the admin console branding is available"
39+
kubectl get cm -n kotsadm kotsadm-application-metadata
3740
}
3841

3942
export EMBEDDED_CLUSTER_METRICS_BASEURL="https://staging.replicated.app"

e2e/scripts/check-postupgrade-state.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ main() {
7474
kubectl logs -n embedded-cluster -l app.kubernetes.io/name=embedded-cluster-operator --tail=100
7575
exit 1
7676
fi
77+
78+
echo "ensure that the admin console branding is available"
79+
kubectl get cm -n kotsadm kotsadm-application-metadata
7780
}
7881

7982
export EMBEDDED_CLUSTER_METRICS_BASEURL="https://staging.replicated.app"

pkg/addons/adminconsole/adminconsole.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var (
3939
)
4040

4141
// protectedFields are helm values that are not overwritten when upgrading the addon.
42-
var protectedFields = []string{"automation", "embeddedClusterID"}
42+
var protectedFields = []string{"automation", "embeddedClusterID", "kotsApplication"}
4343

4444
const DEFAULT_ADMIN_CONSOLE_NODE_PORT = 30000
4545

0 commit comments

Comments
 (0)