[COMMON] Change import-custom-cert from bash to sh 81/121481/7
authora.sreekumar <ajith.sreekumar@bell.ca>
Wed, 19 May 2021 11:52:14 +0000 (12:52 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 27 May 2021 20:00:34 +0000 (20:00 +0000)
As part of removing GPLv3 license, policy components have moved from
bash to sh. This change is required in import-custom-certs script so
that custom certificates can be imported into components that try to
import them. Without this change, the init containers of the
components will just fail.

Change-Id: I6c5028428d4cd7c8baf3e96cb16a3cd91db57f9e
Issue-ID: POLICY-3232
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
(cherry picked from commit f79b6676cfdc380e004f184a21bb969b2824c06e)

kubernetes/common/cert-wrapper/resources/import-custom-certs.sh

index 87e584c..e986c39 100755 (executable)
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
 {{/*
 
-# Copyright © 2020 Bell Canada
+# Copyright © 2020-2021 Bell Canada
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.