mirror of
https://github.com/ysoftdevs/gardener-extension-shoot-fleet-agent.git
synced 2026-06-12 16:44:40 +02:00
modified generation of controller-registration.yaml - added globalyEnabled: true, improved examples
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:generate ../../vendor/github.com/gardener/gardener/hack/generate-controller-registration.sh extension-shoot-fleet-agent . ../../VERSION ../../example/controller-registration.yaml Extension:shoot-fleet-agent
|
||||
//go:generate ../../hack/generate-controller-registration.sh extension-shoot-fleet-agent . ../../VERSION ../../example/controller-registration.yaml Extension:shoot-fleet-agent
|
||||
|
||||
// Package chart enables go:generate support for generating the correct controller registration.
|
||||
package chart
|
||||
|
||||
@@ -9,7 +9,10 @@ kind: FleetAgentConfig
|
||||
clientConnection:
|
||||
kubeconfig: {{ .Values.fleetManager.kubeconfig }}
|
||||
{{- if .Values.fleetManager.labels }}
|
||||
labels: {{ .Values.fleetManager.labels | toYaml }}
|
||||
labels: {{ .Values.fleetManager.labels | toYaml | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.fleetManager.namespace }}
|
||||
namespace: {{ .Values.fleetManager.namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user