File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Secret
3+ metadata :
4+ name : kube-cicd
5+ namespace : kube-system
6+ annotations :
7+ kubernetes.io/service-account.name : kube-cicd
8+ type : kubernetes.io/service-account-token
Original file line number Diff line number Diff line change @@ -11,8 +11,12 @@ kubectl apply -f $CB_KUBERNETES_TEMPLATES_DIR/namespace.yaml
1111kubectl config set-context --current --namespace=$NS
1212kubectl config view --minify | grep namespace:
1313
14- # Apply service account
14+ # Apply service account and secret
1515kubectl apply -f $CB_KUBERNETES_TEMPLATES_DIR /service-account.yaml
16+ kubectl apply -f $CB_KUBERNETES_TEMPLATES_DIR /service-account-secret.yaml
17+
18+ # Create secret
19+
1620
1721# Create Load Balancer Certification
1822$CB_STATE_DIR /gen-lb-cert.sh
Original file line number Diff line number Diff line change @@ -69,4 +69,5 @@ data "oci_containerengine_cluster_option" options {
6969locals {
7070 versions = reverse (sort (data. oci_containerengine_cluster_option . options . kubernetes_versions ))
7171 latest = local. versions [0 ]
72- }
72+ }
73+
You can’t perform that action at this time.
0 commit comments