Skip to content

Commit

Permalink
Adding support from focal to noble (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Jul 26, 2024
1 parent 0e97bce commit 151bee0
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 83 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/vsphere-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: charmed-kubernetes/actions-operator@main
with:
provider: vsphere
juju-channel: 3.1/stable
juju-channel: 3/stable
credentials-yaml: ${{ secrets.CREDENTIALS_YAML }}
clouds-yaml: ${{ secrets.CLOUDS_YAML }}
bootstrap-constraints: "arch=amd64 cores=2 mem=4G"
Expand Down
92 changes: 92 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,87 @@
type: charm
name: kubernetes-control-plane
summary: The Kubernetes control plane.
description: |-
Kubernetes is an open-source platform for deploying, scaling, and operations
of application containers across a cluster of hosts. Kubernetes is portable
in that it works with public, private, and hybrid clouds. Extensible through
a pluggable infrastructure. Self healing in that it will automatically
restart and place containers on healthy nodes if a node ever goes away.
links:
contact:
- Kevin Monroe <[email protected]>
- Mateo Florido <[email protected]>
- Adam Dyess <[email protected]>
documentation: https://discourse.charmhub.io/t/kubernetes-control-plane-docs-index/6214
source: https://github.com/charmed-kubernetes/charm-kubernetes-control-plane
issues:
- https://bugs.launchpad.net/charm-kubernetes-control-plane

assumes:
- juju >= 3.1

peers:
coordinator:
# LP:2049953 needed for upgrading from < 1.29
interface: coordinator
peer:
interface: kubernetes-control-plane-peer
provides:
cni:
interface: kubernetes-cni
scope: container
container-runtime:
interface: container-runtime
scope: container
cos-agent:
interface: cos_agent
kube-control:
interface: kube-control
tokens:
interface: tokens
requires:
ceph-client:
# Remains for upgrade compatibility with a warning to remove after upgrade
interface: ceph-client
aws:
interface: aws-integration
gcp:
interface: gcp-integration
azure:
interface: azure-integration
openstack:
# Remains for upgrade compatibility with a warning to remove after upgrade
interface: openstack-integration
keystone-credentials:
# Remains for upgrade compatibility with a warning to remove after upgrade
interface: keystone-credentials
certificates:
interface: tls-certificates
dns-provider:
interface: kube-dns
etcd:
interface: etcd
ha:
interface: hacluster
loadbalancer-external:
# Indicates that the LB should be public facing. Intended for clients which
# must reach the API server via external networks.
interface: loadbalancer
loadbalancer-internal:
# Indicates that the LB should not be public and should use internal
# networks if available. Intended for control plane and other internal use.
interface: loadbalancer
external-cloud-provider:
interface: external_cloud_provider
vault-kv:
interface: vault-kv

resources:
cni-plugins:
type: file
filename: cni-plugins.tar.gz
description: CNI network plugins for Kubernetes

bases:
- build-on:
- name: ubuntu
Expand All @@ -11,6 +94,9 @@ bases:
- name: ubuntu
channel: "22.04"
architectures: ["amd64"]
- name: ubuntu
channel: "24.04"
architectures: ["amd64"]
- build-on:
- name: ubuntu
channel: "20.04"
Expand All @@ -22,6 +108,9 @@ bases:
- name: ubuntu
channel: "22.04"
architectures: ["arm64"]
- name: ubuntu
channel: "24.04"
architectures: ["arm64"]
- build-on:
- name: ubuntu
channel: "20.04"
Expand All @@ -33,6 +122,9 @@ bases:
- name: ubuntu
channel: "22.04"
architectures: ["s390x"]
- name: ubuntu
channel: "24.04"
architectures: ["s390x"]
parts:
charm:
build-packages: [git]
Expand Down
82 changes: 0 additions & 82 deletions metadata.yaml

This file was deleted.

0 comments on commit 151bee0

Please sign in to comment.