Skip to content

Commit

Permalink
addons: Fixed files having .tmpl that aren't templates
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed Sep 25, 2023
1 parent 368677e commit 9ac105a
Show file tree
Hide file tree
Showing 43 changed files with 57 additions and 58 deletions.
35 changes: 17 additions & 18 deletions deploy/addons/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,31 @@ import "embed"

var (
// AutoPauseAssets assets for auto-pause addon
//go:embed auto-pause/*.tmpl
//go:embed auto-pause/unpause.lua
//go:embed auto-pause/*.tmpl auto-pause/*.yaml auto-pause/unpause.lua
AutoPauseAssets embed.FS

// DashboardAssets assets for dashboard addon
//go:embed dashboard/*.yaml dashboard/*.tmpl
DashboardAssets embed.FS

// DefaultStorageClassAssets assets for default-storageclass addon
//go:embed storageclass/storageclass.yaml.tmpl
//go:embed storageclass/storageclass.yaml
DefaultStorageClassAssets embed.FS

// PodSecurityPolicyAssets assets for pod-security-policy addon
//go:embed pod-security-policy/pod-security-policy.yaml.tmpl
//go:embed pod-security-policy/pod-security-policy.yaml
PodSecurityPolicyAssets embed.FS

// StorageProvisionerAssets assets for storage-provisioner addon
//go:embed storage-provisioner/storage-provisioner.yaml.tmpl
StorageProvisionerAssets embed.FS

// StorageProvisionerGlusterAssets assets for storage-provisioner-gluster addon
//go:embed storage-provisioner-gluster/*.tmpl
//go:embed storage-provisioner-gluster/*.tmpl storage-provisioner-gluster/*.yaml
StorageProvisionerGlusterAssets embed.FS

// EfkAssets assets for efk addon
//go:embed efk/*.tmpl
//go:embed efk/*.tmpl efk/*.yaml
EfkAssets embed.FS

// IngressAssets assets for ingress addon
Expand All @@ -57,7 +56,7 @@ var (
IstioProvisionerAssets embed.FS

// IstioAssets assets for istio addon
//go:embed istio/istio-default-profile.yaml.tmpl
//go:embed istio/istio-default-profile.yaml
IstioAssets embed.FS

// InspektorGadgetAssets assets for inspektor-gadget addon
Expand All @@ -73,23 +72,23 @@ var (
KubevirtAssets embed.FS

// MetricsServerAssets assets for metrics-server addon
//go:embed metrics-server/*.tmpl
//go:embed metrics-server/*.tmpl metrics-server/*.yaml
MetricsServerAssets embed.FS

// OlmAssets assets for olm addon
//go:embed olm/*.tmpl
//go:embed olm/*.tmpl olm/*.yaml
OlmAssets embed.FS

// RegistryAssets assets for registry addon
//go:embed registry/*.tmpl
//go:embed registry/*.tmpl registry/*.yaml
RegistryAssets embed.FS

// RegistryCredsAssets assets for registry-creds addon
//go:embed registry-creds/registry-creds-rc.yaml.tmpl
RegistryCredsAssets embed.FS

// RegistryAliasesAssets assets for registry-aliases addon
//go:embed registry-aliases/*.tmpl
//go:embed registry-aliases/*.tmpl registry-aliases/*.yaml
RegistryAliasesAssets embed.FS

// FreshpodAssets assets for freshpod addon
Expand All @@ -105,15 +104,15 @@ var (
NvidiaGpuDevicePluginAssets embed.FS

// LogviewerAssets assets for logviewer addon
//go:embed logviewer/*.tmpl
//go:embed logviewer/*.tmpl logviewer/*.yaml
LogviewerAssets embed.FS

// GvisorAssets assets for gvisor addon
//go:embed gvisor/*.tmpl
GvisorAssets embed.FS

// HelmTillerAssets assets for helm-tiller addon
//go:embed helm-tiller/*.tmpl
//go:embed helm-tiller/*.tmpl helm-tiller/*.yaml
HelmTillerAssets embed.FS

// IngressDNSAssets assets for ingress-dns addon
Expand All @@ -125,19 +124,19 @@ var (
MetallbAssets embed.FS

// AmbassadorAssets assets for ambassador addon
//go:embed ambassador/*.tmpl
//go:embed ambassador/*.tmpl ambassador/*.yaml
AmbassadorAssets embed.FS

// GcpAuthAssets assets for gcp-auth addon
//go:embed gcp-auth/*.tmpl
//go:embed gcp-auth/*.tmpl gcp-auth/*.yaml
GcpAuthAssets embed.FS

// VolumeSnapshotsAssets assets for volumesnapshots addon
//go:embed volumesnapshots/*.tmpl
//go:embed volumesnapshots/*.tmpl volumesnapshots/*.yaml
VolumeSnapshotsAssets embed.FS

// CsiHostpathDriverAssets assets for csi-hostpath-driver addon
//go:embed csi-hostpath-driver/deploy/*.tmpl csi-hostpath-driver/rbac/*.tmpl
//go:embed csi-hostpath-driver/deploy/*.tmpl csi-hostpath-driver/deploy/*.yaml csi-hostpath-driver/rbac/*.yaml
CsiHostpathDriverAssets embed.FS

// PortainerAssets assets for portainer addon
Expand All @@ -157,6 +156,6 @@ var (
HeadlampAssets embed.FS

// CloudSpanner assets for cloud-spanner addon
//go:embed cloud-spanner/*.yaml
//go:embed cloud-spanner/*.tmpl
CloudSpanner embed.FS
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file modified deploy/addons/portainer/portainer.yaml.tmpl
100755 → 100644
Empty file.
File renamed without changes.
Loading

0 comments on commit 9ac105a

Please sign in to comment.