ba998fc142
If grep does not find a match, it return 1 which fails the shell script. Hence made it return true if no match is found. Also, removed returning of error from the script becasue any failure will cause the job to re-run which may re-renew certificates and restart the pods again. And this can continue if the error persists. Chaange-Id: I2a38b59789fd522e8163ff9b12ff847eb1fe2f3a Change-Id: Ica456ef6c5bec2bd29f51aaeef7b5ce5e8681beb
21 lines
715 B
YAML
21 lines
715 B
YAML
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
---
|
|
apiVersion: v1
|
|
appVersion: "1.0"
|
|
description: Rotate the certificates generated by cert-manager
|
|
home: https://cert-manager.io/
|
|
name: cert-rotation
|
|
version: 0.1.1
|
|
...
|