<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Erkan Cetinkaya on Medium]]></title>
        <description><![CDATA[Stories by Erkan Cetinkaya on Medium]]></description>
        <link>https://medium.com/@erkanderon?source=rss-07f334ae8a71------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*r4yDmpc6mhFhhY2K6KAf1Q.jpeg</url>
            <title>Stories by Erkan Cetinkaya on Medium</title>
            <link>https://medium.com/@erkanderon?source=rss-07f334ae8a71------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 03:29:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@erkanderon/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Backstage IDP Platform Usage Screens]]></title>
            <link>https://medium.com/@erkanderon/backstage-idp-platform-usage-screens-005893920e97?source=rss-07f334ae8a71------2</link>
            <guid isPermaLink="false">https://medium.com/p/005893920e97</guid>
            <dc:creator><![CDATA[Erkan Cetinkaya]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 08:27:50 GMT</pubDate>
            <atom:updated>2026-02-16T08:39:59.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OMdV6RuXxhNLKKxI.png" /></figure><p>Hello, today I want to show you how Backstage Catalog IDP platform helps us on our jobs.</p><p>When I started to search about it, I couldn’t find useful pictures about Backstage. So I am doing it.</p><p>Backstage is an open source framework that you can develop a portal to led your developer see anything about a service, service dependencies, needed urls and general architecture.</p><p>I think its very useful for large scale teams to see everything in a platform. New friends can fastly adopt the teams.</p><p>Before we go, I should say that there are 2 types of definitions on components.</p><p>1- Scan all repositories on your account and if you find catalog-info.yaml, take variables inside that.</p><p>2- Scan a catalog repo and depends on the hierarcy, you can create all objects inside to Backstage.</p><p>First in first, you should login this platform, according to your environment, you can find provider to handle this part.</p><p>We used Gitlab to authenticate people.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W8CwDzhb9XRrS6famNvbiA.png" /></figure><p>After login, you’ll see mainpage with components. Components mean repositories actually. There are 2 simply placeholder repositories here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wux_l9J0CiB4VkMoIv0ZQ.png" /></figure><p>Defining a repo is basically simple definition of a yaml.</p><pre>apiVersion: backstage.io/v1alpha1<br>kind: Component<br>metadata:<br>  name: streamhub<br>  description: Şirket hub doğrulama servisi<br>  links:<br>    - url: https://gitlab.tr.zip.co/zip/core/streamhub<br>      title: Repository<br>      icon: code<br>  annotations:<br>    gitlab.com/project-slug: &#39;zip/core/streamhub&#39;<br>    jenkins.io/job-full-name: &#39;ZIP/CORE/streamhub/&#39;<br>    backstage.io/techdocs-ref: dir:.<br>    grafana/dashboard-selector: minio<br>    grafana/alert-label-selector: alert-class=minio<br>spec:<br>  type: service<br>  lifecycle: production<br>  owner: backstage-admins<br>  system: core-platform<br>  providesApis:<br>    - streamhub-api<br>  dependsOn:<br>    - component:shop<br>  consumesApis:<br>    - shop-api</pre><p>Until here, it can be hard to setup, because as i said, its a framework and you need to start an application, add some plugins, some configuration, some plugins and so on.</p><p>After you click streamhub for example, you will see overview of the app.</p><p>Relations, CD/CD, API, Dependencies, Docs …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DNIaAWi_UyVTZK9UzMuQ-w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GCirXwBgQmm5PBuyBp-1sQ.png" /></figure><p>As you see, you can define links to your codes or with grafana plugin, you can directly redirect to app dashboards.</p><p>On CI/CD tab, you can see which versions or jobs started recently. Whats on the move…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u4emE1hBrwffrQdDb11PJg.png" /></figure><p>API tab, you can see provided apis by repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P07PeKMEvNh--zXCg2dZ4w.png" /></figure><p>When yo go inside a providedAPI, you can call API directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mph3cy1b-fKSlLlKH0t1SA.png" /></figure><p>Dependencies tab, its mostly synonym about the topology. People can forget, but when you cannot remember, you can see which dependencies exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IbmpKKtIiu-5aiO12R4bYg.png" /></figure><p>In Docs tab, you will see documentation about the repo. This documentation is coming from s3, so you can directly get documentations from providers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-vs2ymiZdTRTBSZkmT9oA.png" /></figure><p>On sidebar create tab, you can create templates that you defined.</p><p>Its creating repository, and backstage object definition to see it. When you can automate everyhing you can even create jobs, dashboards etc…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PfRYSiIhqAgYeGWGvmiJiQ.png" /></figure><p>As Summarize, in Backstage framework, you can even create your own custom solutions. But it has a lot of plugins enough.</p><p>Its very useful for large teams to see topology and documentations are together. you can automate your environments in some cases.</p><p>I hope this story helps you to achive your goals.</p><p>Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=005893920e97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HEADLAMP with OIDC using DEX in Vanilla Kubernetes]]></title>
            <link>https://medium.com/@erkanderon/headlamp-with-oidc-using-dex-in-vanilla-kubernetes-38ab3873aab9?source=rss-07f334ae8a71------2</link>
            <guid isPermaLink="false">https://medium.com/p/38ab3873aab9</guid>
            <category><![CDATA[ldap]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[oidc]]></category>
            <category><![CDATA[dex]]></category>
            <category><![CDATA[headlamp]]></category>
            <dc:creator><![CDATA[Erkan Cetinkaya]]></dc:creator>
            <pubDate>Fri, 26 Dec 2025 11:25:10 GMT</pubDate>
            <atom:updated>2025-12-26T11:25:10.007Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ab9Ct-5mc1mOPfuw.png" /></figure><p>Hello Everyone,</p><p>some complicated problems can cause timing loss, I was expecting Headlamp can easily talk with LDAP using DEX but this integration took longer time that I wasnt expected, so I decided to write a blog to serve people.</p><p>I will simply explain Headlamp setup with oidc using Dex in on-premise vanilla kubernetes environments.</p><p>Headlamp is a user-friendly Kubernetes UI focused on extensibility.</p><p>Dex is a federated OpenID Connect Provider.</p><p>Which versions we are going to setup;</p><p>1 — Headlamp, <a href="https://artifacthub.io/packages/helm/headlamp/headlamp">chart 0.39.0 — app 0.39.0</a><br>2 — Dex, <a href="https://artifacthub.io/packages/helm/dex/dex">chart 0.24.0 — app 2.44.0</a></p><p>What we are going to have?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqtxnBJl1FAjRSpA37WIOg.png" /></figure><p>I was expecting after the step 5, It should work as it is. But Kube Api Server should configured with oidc to ensure its true. So this is the hardest part that cause me to write this story :)</p><p>I am not using Helm install to install helm packages. So helm commands can fail, please be careful about that.</p><p><strong>Configuring Dex</strong></p><p>in chart default values.yaml. Change configurations with like that:</p><pre>  config:<br>    issuer: https://dex.example.com<br>    oauth2:<br>      skipApprovalScreen: true<br>    connectors:<br>      - type: ldap<br>        id: ldap<br>        name: Active Directory<br>        config:<br>          host: 111.111.111.111:389  #active-directory-host:389<br>          insecureNoSSL: true<br>          insecureSkipVerify: true<br>          bindDN: &quot;CN=xxxx,OU=xxx,OU=xxxx,DC=xxx,DC=local&quot;<br>          bindPW: &quot;xxxxxxx&quot;<br><br>          userSearch:<br>            baseDN: &quot;DC=xxx,DC=xxx&quot;<br>            filter: &quot;(objectClass=person)&quot;<br>            username: sAMAccountName<br>            idAttr: sAMAccountName<br>            emailAttr: mail<br>            nameAttr: displayName<br><br>          groupSearch:<br>            baseDN: &quot;DC=xxx,DC=local&quot;<br>            filter: &quot;(objectClass=group)&quot;<br>            userMatchers:<br>              - userAttr: DN<br>                groupAttr: member<br>            nameAttr: cn<br>    staticClients:<br>      - id: headlamp<br>        name: &#39;Headlamp&#39;<br>        secret: &quot;a-strong-secret&quot;<br>        skipApprovalScreen: true<br>        redirectURIs:<br>        - &#39;https://headlamp.example.com/oidc-callback&#39;<br>    storage:<br>      type: kubernetes<br>      config:<br>        inCluster: true</pre><p>then apply this config to the dex deployment.</p><pre>helm install dex dex/ --namespace components</pre><p><strong>Configuring Headlamp</strong></p><p>in chart default values.yaml. Change configurations with like that:</p><pre>  config:<br>    inCluster: true<br>    baseURL: &quot;&quot;<br>    oidc:<br>      secret:<br>        create: true<br>        name: oidc<br><br>      clientID: &quot;headlamp&quot;<br>      clientSecret: &quot;a-strong-secret&quot;<br>      issuerURL: &quot;https://dex.example.com&quot;<br>      scopes: &quot;openid,profile,email,groups&quot;<br>      callbackURL: &quot;https://headlamp.example.com/oidc-callback&quot;<br>      insecureSkipTLSVerify: true<br><br>      # -- OIDC client to be used during token validation<br>      validatorClientID: &quot;&quot;<br>      validatorIssuerURL: &quot;&quot;<br>      useAccessToken: false<br>      usePKCE: false</pre><p>Then apply this config to headlamp deployment</p><pre>helm install headlamp headlamp/ --namespace components</pre><p>You should see this,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*kE-rhwGTaF-v_TQ-FNK3cw.png" /></figure><p>When you click Sign In button, It will open a small screen of Dex server.</p><p>After you login to Dex, It will try to redirect to Headlamp main page, but still it will fail.</p><p>Until here, you can find the configurations in documentation. But doing this is not enough to fully oidc ldap integration. From now on we will configure to complete part 5 to 9.</p><p>After part 5 HeadLamp is asking Kube Api Server to which rbac role should I gain to led client use the Headlamp UI.</p><p>Because Headlamp is a UI component and it hasnt a backend or identity management middleware. So what he gets from dex is a JWT Token that client user and group informations.</p><p>After that, it sends token to Kube Api Server, but Kube Api Server is not accepting this token because it has no idea about the Token.</p><p>1 — Configure Kube Api Server OIDC with Dex.</p><p>If you setup k8s with kubeadm, you can configure this file. (Only Master Nodes)</p><pre>/etc/kubernetes/manifests/kube-apiserver.yaml</pre><pre>spec:<br>  containers:<br>  - command:<br>      .<br>      .<br>      .<br>      - --oidc-issuer-url=https://dex.example.com<br>      - --oidc-client-id=headlamp<br>      - --oidc-username-claim=email<br>      - --oidc-groups-claim=groups</pre><p>After you save the file. It will automatically restart kube api server pods.</p><p>Is it finish? No. After that we will define a rbac role to match with LDAP Group.</p><p>Estimate that you are in a Linux_Admins group.</p><p>You will create a binding to Log in Headlamp.</p><p>apply this yaml.</p><pre>apiVersion: rbac.authorization.k8s.io/v1<br>kind: ClusterRoleBinding<br>metadata:<br>  name: oidc-cluster-admin<br>subjects:<br>- kind: Group<br>  name: &quot;Linux_Admins&quot;<br>  apiGroup: rbac.authorization.k8s.io<br>roleRef:<br>  kind: ClusterRole<br>  name: cluster-admin<br>  apiGroup: rbac.authorization.k8s.io</pre><p>Then try again to login. It should work.</p><p>I hope it should help you.</p><p>Like the story please.</p><p>Thanks :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38ab3873aab9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>