Skip to content

Template fleet-agent static pod file and a token file in a secret #245

@Danil-Grigorev

Description

@Danil-Grigorev

We need to create a Secret resource with the fleet-agent install command invocation for the cluster.

Secret needs to be named as <cluster-name>-fleet-agent to allow usage of built-ins in the ClusterClass jsonPatch.

The content of the Secret would consist of 2 fields:

  • pod: Static pod definition with the CAAPF subcommand invocation.
  • values: chart data, such as token content, which would be stored alongside with static pod, and mounted in the pod using hostPath volume to allow direct access.

Both fields would serve as a source for files content. Static pod can be created in the /etc/kubernetes/manifests folder, together with the token file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions