File tree 3 files changed +23
-5
lines changed
3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,12 @@ type KustomizationSpec struct {
57
57
RetryInterval * metav1.Duration `json:"retryInterval,omitempty"`
58
58
59
59
// The KubeConfig for reconciling the Kustomization on a remote cluster.
60
- // When specified, KubeConfig takes precedence over ServiceAccountName.
60
+ // When used in combination with KustomizationSpec.ServiceAccountName,
61
+ // forces the controller to act on behalf of that Service Account at the
62
+ // target cluster.
63
+ // If the --default-service-account flag is set, its value will be used as
64
+ // a controller level fallback for when KustomizationSpec.ServiceAccountName
65
+ // is empty.
61
66
// +optional
62
67
KubeConfig * KubeConfig `json:"kubeConfig,omitempty"`
63
68
Original file line number Diff line number Diff line change @@ -691,8 +691,11 @@ spec:
691
691
type : string
692
692
kubeConfig :
693
693
description : The KubeConfig for reconciling the Kustomization on a
694
- remote cluster. When specified, KubeConfig takes precedence over
695
- ServiceAccountName.
694
+ remote cluster. When used in combination with KustomizationSpec.ServiceAccountName,
695
+ forces the controller to act on behalf of that Service Account at
696
+ the target cluster. If the --default-service-account flag is set,
697
+ its value will be used as a controller level fallback for when KustomizationSpec.ServiceAccountName
698
+ is empty.
696
699
properties :
697
700
secretRef :
698
701
description : SecretRef holds the name to a secret that contains
Original file line number Diff line number Diff line change @@ -139,7 +139,12 @@ KubeConfig
139
139
<td >
140
140
<em >(Optional)</em >
141
141
<p >The KubeConfig for reconciling the Kustomization on a remote cluster.
142
- When specified, KubeConfig takes precedence over ServiceAccountName.</p >
142
+ When used in combination with KustomizationSpec.ServiceAccountName,
143
+ forces the controller to act on behalf of that Service Account at the
144
+ target cluster.
145
+ If the &ndash ; default-service-account flag is set, its value will be used as
146
+ a controller level fallback for when KustomizationSpec.ServiceAccountName
147
+ is empty.</p >
143
148
</td >
144
149
</tr >
145
150
<tr >
@@ -624,7 +629,12 @@ KubeConfig
624
629
<td >
625
630
<em >(Optional)</em >
626
631
<p >The KubeConfig for reconciling the Kustomization on a remote cluster.
627
- When specified, KubeConfig takes precedence over ServiceAccountName.</p >
632
+ When used in combination with KustomizationSpec.ServiceAccountName,
633
+ forces the controller to act on behalf of that Service Account at the
634
+ target cluster.
635
+ If the &ndash ; default-service-account flag is set, its value will be used as
636
+ a controller level fallback for when KustomizationSpec.ServiceAccountName
637
+ is empty.</p >
628
638
</td >
629
639
</tr >
630
640
<tr >
You can’t perform that action at this time.
0 commit comments