Fix typo;Fix module;Register workloadcluster in argocd #2;Reduce tty refresh frequency;Upgrade component
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-13 09:03:35 +01:00
parent d1b1635942
commit 336150b00c
5 changed files with 42 additions and 15 deletions

View File

@ -0,0 +1,18 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ _template.cluster.secret }}
namespace: argo-cd
labels:
argocd.argoproj.io/secret-type: cluster
type: Opaque
stringData:
name: {{ _template.cluster.name }}
server: {{ _template.cluster.url }}
config: |
{
"bearerToken": "{{ _template.cluster.token }}",
"tlsClientConfig": {
"insecure": true
}
}

View File

@ -17,10 +17,10 @@ COMPONENTS=('ca' 'storage' 'registry' 'git' 'gitops')
FQDN='{{ vapp['metacluster.fqdn'] }}'
IPADDRESS='{{ vapp['guestinfo.ipaddress'] }}'
I=10
I=60
while /bin/true; do
if [[ $I -lt 9 ]]; then
if [[ $I -gt 59 ]]; then
clear > /dev/tty1
I=0
else