This repository has been archived by the owner on Apr 7, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
596 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
5 changes: 5 additions & 0 deletions
5
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
appVersion: "1.0" | ||
description: A Helm chart for the Gardener Ubuntu OS extension (Alicloud's Ubuntu) | ||
name: os-ubuntu-alicloud | ||
version: 0.1.0 |
18 changes: 18 additions & 0 deletions
18
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/doc.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
//go:generate ../../../../hack/generate-controller-registration.sh os-ubuntu-alicloud . ../../example/controller-registration.yaml OperatingSystemConfig:ubuntu-alicloud | ||
|
||
// Package chart enables go:generate support for generating the correct controller registration. | ||
package chart |
11 changes: 11 additions & 0 deletions
11
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{- define "image" -}} | ||
{{- if hasPrefix "sha256:" .Values.image.tag }} | ||
{{- printf "%s@%s" .Values.image.repository .Values.image.tag }} | ||
{{- else }} | ||
{{- printf "%s:%s" .Values.image.repository .Values.image.tag }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- define "deploymentversion" -}} | ||
apps/v1 | ||
{{- end -}} |
42 changes: 42 additions & 0 deletions
42
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/templates/deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: gardener-extension-os-ubuntu-alicloud | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: gardener-extension-os-ubuntu-alicloud | ||
helm.sh/chart: gardener-extension-os-ubuntu-alicloud | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
spec: | ||
revisionHistoryLimit: 0 | ||
replicas: {{ .Values.replicaCount }} | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: gardener-extension-os-ubuntu-alicloud | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: gardener-extension-os-ubuntu-alicloud | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
spec: | ||
serviceAccountName: gardener-extension-os-ubuntu-alicloud | ||
containers: | ||
- name: gardener-extension-os-ubuntu-alicloud | ||
image: {{ include "image" . }} | ||
imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
command: | ||
- /gardener-extension-hyper | ||
- os-ubuntu-alicloud-controller-manager | ||
- --max-concurrent-reconciles={{ .Values.controllers.concurrentSyncs }} | ||
- --disable-controllers={{ .Values.disableControllers | join "," }} | ||
- --ignore-operation-annotation={{ .Values.controllers.ignoreOperationAnnotation }} | ||
env: | ||
- name: LEADER_ELECTION_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
{{- if .Values.resources }} | ||
resources: | ||
{{ toYaml .Values.resources | nindent 10 }} | ||
{{- end }} |
13 changes: 13 additions & 0 deletions
13
...ollers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/templates/os-ubuntu-alicloud-vpa.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: "autoscaling.k8s.io/v1beta2" | ||
kind: VerticalPodAutoscaler | ||
metadata: | ||
name: gardener-extension-os-ubuntu-alicloud-vpa | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
targetRef: | ||
apiVersion: {{ include "deploymentversion" . }} | ||
kind: Deployment | ||
name: gardener-extension-os-ubuntu-alicloud | ||
updatePolicy: | ||
updateMode: "Auto" |
67 changes: 67 additions & 0 deletions
67
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/templates/rbac.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: gardener-extension-os-ubuntu-alicloud | ||
labels: | ||
app.kubernetes.io/name: gardener-extension-os-ubuntu-alicloud | ||
helm.sh/chart: gardener-extension-os-ubuntu-alicloud | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
rules: | ||
- apiGroups: | ||
- extensions.gardener.cloud | ||
resources: | ||
- operatingsystemconfigs | ||
- operatingsystemconfigs/status | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- patch | ||
- update | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- secrets | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
- events | ||
verbs: | ||
- create | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
resourceNames: | ||
- ubuntu-alicloud-leader-election | ||
verbs: | ||
- get | ||
- watch | ||
- update | ||
- patch | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: gardener-extension-os-ubuntu-alicloud | ||
labels: | ||
app.kubernetes.io/name: gardener-extension-os-ubuntu-alicloud | ||
helm.sh/chart: gardener-extension-os-ubuntu-alicloud | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: gardener-extension-os-ubuntu-alicloud | ||
subjects: | ||
- kind: ServiceAccount | ||
name: gardener-extension-os-ubuntu-alicloud | ||
namespace: {{ .Release.Namespace }} |
9 changes: 9 additions & 0 deletions
9
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/templates/serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: gardener-extension-os-ubuntu-alicloud | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: gardener-extension-os-ubuntu-alicloud | ||
helm.sh/chart: gardener-extension-os-ubuntu-alicloud | ||
app.kubernetes.io/instance: {{ .Release.Name }} |
12 changes: 12 additions & 0 deletions
12
controllers/os-ubuntu-alicloud/charts/os-ubuntu-alicloud/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
image: | ||
repository: eu.gcr.io/gardener-project/gardener/gardener-extension-hyper | ||
tag: latest | ||
pullPolicy: IfNotPresent | ||
|
||
resources: {} | ||
|
||
controllers: | ||
concurrentSyncs: 5 | ||
ignoreOperationAnnotation: false | ||
|
||
disableControllers: [] |
39 changes: 39 additions & 0 deletions
39
controllers/os-ubuntu-alicloud/cmd/gardener-extension-os-ubuntu-alicloud/app/app.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package app | ||
|
||
import ( | ||
"context" | ||
|
||
"github.com/gardener/gardener-extensions/controllers/os-ubuntu-alicloud/pkg/generator" | ||
"github.com/gardener/gardener-extensions/pkg/controller/cmd" | ||
"github.com/gardener/gardener-extensions/pkg/controller/operatingsystemconfig/oscommon/app" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
// Name is the name of the Ubuntu OS Alicloud controller. | ||
const osName = "ubuntu-alicloud" | ||
|
||
// NewControllerCommand returns a new Command with a new Generator | ||
func NewControllerCommand(ctx context.Context) *cobra.Command { | ||
g := generator.CloudInitGenerator() | ||
if g == nil { | ||
cmd.LogErrAndExit(nil, "Could not create Generator") | ||
} | ||
|
||
cmd := app.NewControllerCommand(ctx, osName, g) | ||
|
||
return cmd | ||
} |
31 changes: 31 additions & 0 deletions
31
controllers/os-ubuntu-alicloud/cmd/gardener-extension-os-ubuntu-alicloud/main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package main | ||
|
||
import ( | ||
"github.com/gardener/gardener-extensions/controllers/os-ubuntu-alicloud/cmd/gardener-extension-os-ubuntu-alicloud/app" | ||
"github.com/gardener/gardener-extensions/pkg/controller" | ||
controllercmd "github.com/gardener/gardener-extensions/pkg/controller/cmd" | ||
"sigs.k8s.io/controller-runtime/pkg/runtime/log" | ||
) | ||
|
||
func main() { | ||
log.SetLogger(log.ZapLogger(false)) | ||
cmd := app.NewControllerCommand(controller.SetupSignalHandlerContext()) | ||
|
||
if err := cmd.Execute(); err != nil { | ||
controllercmd.LogErrAndExit(err, "error executing the main controller command") | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
controllers/os-ubuntu-alicloud/example/controller-registration-local.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: core.gardener.cloud/v1alpha1 | ||
kind: ControllerRegistration | ||
metadata: | ||
name: os-ubuntu-alicloud | ||
spec: | ||
resources: | ||
- kind: OperatingSystemConfig | ||
type: ubuntu-alicloud | ||
deployment: | ||
type: helm | ||
providerConfig: | ||
chart: H4sIAAAAAAAAA+1a/2/iOBafn/NXvGO1upnTkACF9o7TScdSdqe6bluVzqxGp9PIJCZ4G+ys7UDZ7tzffs/OF1JgoMxwrXYnHyFIHP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GyuZ0Nb4jw99FBf+FNtlFpO9c4Gd73+PVt7/tFrt404V/58C9XrdKecANZJooXzUNw/d279aDzxrjnB7tmpZYoB9NcYv9EpBL+uMTuMzcwSzoR6ZJ+RuHvUVUl3YU5n7srvdkNYXrnctwzGN+7n5JMbV0sxt2/Fpy48iQCo1I5nacyv3Edhq/3JE/AO8CN71/qfTOlk9/zebjcr+nwKr9m9Vjj5gIiT7Na0WF14gs/9+hDKj8lpE9AtOBr/TnF8mkYm2deN2fpAiie0S6sv328rNJ3fzWUpR2iZh+UsAZV8C+PYlgNryyEOGdGJ6oCcbZVTQBdrfCA8d9mJujg32Ki6uUpe0zm2tts6Wor6k+vGzYG9DuzTNcu5HTZiubkridO10ho54Zfpsjv3J5c9sAEmfrwYe1Gtgdog5eqHeNq97virK0hq/yHK+wwbU81doQLj4LHbnSt0iOyeP1WWns5+kVDIyf9ayRpvSGj44I/5fahrP7dYfja3xPztMk1RQn50J7Kz/nxyt5P/NVrOq/z0JVv7/tdFAqvLfRk/23Ko7CDbY/ywtHxzuD6C77P+os/b+t33Squz/KZDWKdNSdfYqrQs0cUNfGgsorCf7y3PRsK3aqEnYBRtBTHCNS9XNs/GF0Ffm72LoVpxlAgf3Hx2nVKczDK0UErvQwcZP1u+6MCaRoo6zXkHswr//88cw1goVKlSoUKFChQoVKlSoUKFChQoVKlSoUKFChQoVKlTYgv8BR3P0dQBQAAA= |
16 changes: 16 additions & 0 deletions
16
controllers/os-ubuntu-alicloud/example/controller-registration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
apiVersion: core.gardener.cloud/v1alpha1 | ||
kind: ControllerRegistration | ||
metadata: | ||
name: os-ubuntu-alicloud | ||
spec: | ||
resources: | ||
- kind: OperatingSystemConfig | ||
type: ubuntu-alicloud | ||
deployment: | ||
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H/vD626vv+wJMDMMv5di2ik0AowZjYIbOn7YmrVfEz3pLI3LXTpMJ8u/Vl5DiUT69MGKLhs72B20eGeKDJsjfgOOLh1VAvXaWia0M/5v2S6zmBycC+x9/9tsr8X/RrveLuP/U6BarTrFHKBCEi2Uj/rmoXv3V+uBZ/URbs9GJUsMsK/G+IVeKehmndFpfGaOYDbUI/OE3M2jvkKql/ZUlL7obrek9UvXu5HhmMbD3HwS42xp5rbt+LTlRxEglYpZmcpzK/cR2Gn/ckT8I7wI3vf+p904Wz//1+vl+98nwbr9W5WjD5gIyX5Nq8VLL5DZfy/CNaPyRkT0C04Gv9OcXyaRibZV43Z+kCKJ7RSqq5fdys2ZuzmXQpS2SVj+EkDZlwC+fQmgdjzyUCCdmB7oyUYZFXSB9jfCQ4e9mJtjg72Kl1epS9qUtlLZFEtRX1L9eC7Y29AusFnxfhTDdHZTEqdzpzN0xGvsMx6Hk8uf2QCSPl8PPKjXwOwQc/RCvW2f93x9KQtz/CLL+Q4bUM9foQHh5LPYnSt1x9o5eawuOp3DVkolI/NnLWu0Ka3hgzPi/6Wm8dxu/dHYGf+zwzRJF+qzM4G99f+z5lr+X2/Uy/rfk2Dt/19bDaQs/231ZM+tuqNgi/3P0vLB8f4Aus/+m+2N97+ts0Zp/0+BtE6ZlqqzV2kdoIkb+tJYwNJ6sr88Lxt2VRs1CTtgI4gJrnGhujkYXwp9bf4uhm7FWSVwcP/RcQp1OiPQWiGxA21s/GT9rgNjEinqOJsVxA78+z9/DGMtUaJEiRIlSpQoUaJEiRIlSpQoUaJEiRIlSpQoUaJEiR34H45igzMAUAAA | ||
values: | ||
image: | ||
tag: 0.10.0-dev |
32 changes: 32 additions & 0 deletions
32
controllers/os-ubuntu-alicloud/example/crd-operatingsystemconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: operatingsystemconfigs.extensions.gardener.cloud | ||
spec: | ||
group: extensions.gardener.cloud | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
version: v1alpha1 | ||
scope: Namespaced | ||
names: | ||
plural: operatingsystemconfigs | ||
singular: operatingsystemconfig | ||
kind: OperatingSystemConfig | ||
shortNames: | ||
- osc | ||
additionalPrinterColumns: | ||
- name: Type | ||
type: string | ||
description: The type of the operating system configuration. | ||
JSONPath: .spec.type | ||
- name: State | ||
type: string | ||
JSONPath: .status.lastOperation.state | ||
- name: Age | ||
type: date | ||
JSONPath: .metadata.creationTimestamp | ||
subresources: | ||
status: {} |
Oops, something went wrong.