Richard Brown 2019-07-09 11:49:08 +00:00 committed by Git OBS Bridge
commit 7b787c7c08
6 changed files with 95 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

10
_service Normal file
View File

@ -0,0 +1,10 @@
<services>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">kubic-kube-controller-manager-image.kiwi</param>
<param name="regex">%PKG_VERSION%</param>
<param name="parse-version">patch</param>
<param name="package">kubernetes-common</param>
</service>
<service mode="buildtime" name="kiwi_label_helper"/>
</services>

13
config.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
#--------------------------------------
#test -f /.profile && . /.profile
#======================================
# Greeting...
#--------------------------------------
echo "Configure image: [$kiwi_iname]..."
ln -sf /usr/bin/hyperkube /usr/local/bin/kube-controller-manager
exit 0

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Jun 26 20:06:00 UTC 2019 - Thorsten Kukuk <kukuk@suse.com>
- Initial version

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- OBS-ExcludeArch: i586 s390 -->
<image schemaversion="6.9" name="kubic-kube-controller-manager-image" xmlns:suse_label_helper="com.suse.label_helper">
<description type="system">
<author>Thorsten Kukuk</author>
<contact>kukuk@suse.com</contact>
<specification>Image containing rback-manager for openSUSE Kubic.</specification>
</description>
<preferences>
<type
image="docker"
derived_from="obsrepositories:/opensuse/busybox#latest">
<containerconfig
name="kubic/kube-controller-manager"
tag="latest"
additionaltags="v%PKG_VERSION%,v%PKG_VERSION%-%RELEASE%"
maintainer="Thorsten Kukuk &lt;kukuk@suse.com&gt;">
<subcommand execute="/bin/sh"/>
<labels>
<suse_label_helper:add_prefix prefix="org.opensuse.kubic.kube-controller-manager">
<label name="org.opencontainers.image.title" value="openSUSE Kubic kube-controller-manager container"/>
<label name="org.opencontainers.image.description" value="Image containing kube-controller-manager for openSUSE Kubic."/>
<label name="org.opencontainers.image.version" value="v%PKG_VERSION%-%RELEASE%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/kubic/kube-controller-manager:v%PKG_VERSION%-%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
</suse_label_helper:add_prefix>
</labels>
<history author="Thorsten Kukuk &lt;kukuk@suse.com&gt;">openSUSE Kubic kube-controller-manager container</history>
</containerconfig>
</type>
<version>1.0.0</version>
<packagemanager>zypper</packagemanager>
<rpm-excludedocs>true</rpm-excludedocs>
</preferences>
<repository>
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<package name="kubernetes-common"/>
</packages>
</image>