Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add provider eks for template cluster #1098

Merged
merged 4 commits into from
Aug 9, 2023
Merged

Add provider eks for template cluster #1098

merged 4 commits into from
Aug 9, 2023

Conversation

calvix
Copy link
Contributor

@calvix calvix commented Aug 9, 2023

towards giantswarm/roadmap#2609
Adding a very basic template of a cluster for provider eks this is mostly needed now for internal testing for teams,

No custom EKS values for now, all changes to config maps must be done manually

 #: kubectl gs template cluster --provider=eks --name vac1eks --organization=giantswarm
---
apiVersion: v1
data:
  values: |
    metadata:
      name: vac1eks
      organization: giantswarm
kind: ConfigMap
metadata:
  creationTimestamp: null
  labels:
    giantswarm.io/cluster: vac1eks
  name: vac1eks-userconfig
  namespace: org-giantswarm
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
  labels:
    app-operator.giantswarm.io/version: 0.0.0
  name: vac1eks
  namespace: org-giantswarm
spec:
  catalog: cluster
  config:
    configMap:
      name: ""
      namespace: ""
    secret:
      name: ""
      namespace: ""
  kubeConfig:
    context:
      name: ""
    inCluster: true
    secret:
      name: ""
      namespace: ""
  name: cluster-eks
  namespace: org-giantswarm
  userConfig:
    configMap:
      name: vac1eks-userconfig
      namespace: org-giantswarm
  version: 0.3.2
---
apiVersion: v1
data:
  values: |
    clusterName: vac1eks
    organization: giantswarm
kind: ConfigMap
metadata:
  creationTimestamp: null
  labels:
    giantswarm.io/cluster: vac1eks
  name: vac1eks-default-apps-userconfig
  namespace: org-giantswarm
---
apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
  labels:
    app-operator.giantswarm.io/version: 0.0.0
    giantswarm.io/cluster: vac1eks
    giantswarm.io/managed-by: cluster
  name: vac1eks-default-apps
  namespace: org-giantswarm
spec:
  catalog: cluster
  config:
    configMap:
      name: vac1eks-cluster-values
      namespace: org-giantswarm
    secret:
      name: ""
      namespace: ""
  kubeConfig:
    context:
      name: ""
    inCluster: true
    secret:
      name: ""
      namespace: ""
  name: default-apps-eks
  namespace: org-giantswarm
  userConfig:
    configMap:
      name: vac1eks-default-apps-userconfig
      namespace: org-giantswarm
  version: 0.1.2

@calvix calvix self-assigned this Aug 9, 2023
@calvix calvix marked this pull request as ready for review August 9, 2023 09:29
@calvix calvix requested a review from a team as a code owner August 9, 2023 09:29
@calvix calvix requested review from a team, vvondruska and anvddriesch August 9, 2023 09:29
Copy link
Contributor

@anvddriesch anvddriesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@calvix calvix merged commit d61714d into main Aug 9, 2023
1 check passed
@calvix calvix deleted the template-eks-cluster branch August 9, 2023 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants